Comments (5)
Hi !
You are using three-d 0.6.1 in your Cargo.toml while trying to implement the triangle example from the master branch.
WindowSettings
is a relatively new struct, not available in a release yet.
That also explains why you couldn't find it in the documentation...
Either use the master in your Cargo.toml or use this triangle example
from three-d.
@asny I think the solution (but it is a bit late now) would be to only put releases in master
branch and put unreleased commits in a develop
branch. That way, the readme people see when landing on the project page would correspond to the lastest release.
This process can only be made in place on next release now...
from three-d.
@Mikayex Thank you for you solution~~. I am using submodule to ref three-d
source code
[submodule "three-d"]
path = three-d
url = https://github.com/asny/three-d.git
from three-d.
You are very welcome @OhBonsai 🙂 and I can only concur with what @Mikayex said 👆 maybe I should make it more clear in the readme.
from three-d.
@Mikayex I actually had a development branch, it is still there, but then people started making pull requests to master and I didn't bother to enforce development on the development branch, I don't want to make it cumbersome for people to contribute. Anyway the problem persist if you are using the non-latest release, say 0.5 then master will have the 0.6 examples. I think one should look at crates.io if using a release (since the readme and the link to the right examples is persisted) and GitHub if using the code directly. I would write something like that in the readme but might be difficult. What do you think? Maybe I should look at what others do.
from three-d.
Related Issues (20)
- Uncaught runtime errors
- "You forgot to call destroy() on the egui glow painter. Resources will leak!" HOT 3
- Centering the camera on a model HOT 4
- `Camera` is trying to do too much - not compatible with custom camera implementations HOT 2
- Headless on windows HOT 2
- Weird stretching when rendering finite terrain HOT 2
- Converting between ui space and screen space? HOT 2
- How to control occlusion for 2D shapes? HOT 7
- InstancedMesh but with different material for each instance HOT 5
- Run three-d from egui app HOT 1
- Camera position_at_pixel() is missing window_scale_factor on HiDPI displays HOT 2
- Any plans to support custom buffer element types for interleaved data? HOT 1
- ColorMaterial Transparency breaks when renderered at negative Y position? HOT 2
- Upgrading V0.16.1 => V0.17 breaks loading a 1x1 pixel white texture HOT 2
- Some kind of blend/alpha issue with some models (inside-out models) HOT 1
- Trying to use PhysicalMaterial without lights crashes the program HOT 1
- Warning when running on the browser / crash in debug mode HOT 3
- InstancedMesh Individual Animations HOT 2
- `egui` links don't work? HOT 1
- How would other shadow algorithms slot in?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from three-d.