Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a 3D widget #343

Open
Yamakaky opened this issue May 14, 2020 · 8 comments
Open

Implement a 3D widget #343

Yamakaky opened this issue May 14, 2020 · 8 comments
Labels

Comments

@Yamakaky
Copy link

The current Canvas widget supports only 2D graphics. It would be cool to have a 3D counterpart, maybe limited to wgpu at first. I see it basically as a boilerplate-free version of https://github.com/hecrj/iced/blob/0.1/examples/integration/src/main.rs.
My personal use-case is to have a window with a 3D view on one side (only when the option is enabled) and the other side with configuration options.

@hecrj hecrj added the feature New feature or request label May 14, 2020
@hecrj
Copy link
Member

hecrj commented May 14, 2020

Yes, there has been some discussion about this in #32.

@codec-abc
Copy link

I would be also interested in the ability to 3D (in order to render a point cloud inside a GUI app). Is 3D rendering somewhat doable for people with little experience in Iced? #32 seems to indicate that it might be feasible if someone dare to implement a 3D Canvas for him/herself but this seems out of reach for me.

@dhardy
Copy link

dhardy commented Sep 21, 2020

If you want WGPU support in a Rust-native GUI, this is (somewhat) possible in KAS: see the mandlebrot example. I'd be interested in getting some feedback on this (sorry @hecrj to jump in here)!

@codec-abc
Copy link

codec-abc commented Sep 21, 2020

@dhardy: I tried it really quick before asking for update here but I was unable to build it. This is because of my weird setup (a Ubuntu 16.04 without sudo group and missing dependencies (for example cmake)). I also tried to cross compile it using mingw into a docker container but ran into issues. It seems like the C++ code need a C++ 11 compiler and mingw doesn't support it. Anyway, KAS looks great and I will give it another shot but if somehow KAS could be pure Rust it would make things somewhat easier in my case.

@dhardy
Copy link

dhardy commented Sep 22, 2020

I'm a little surprised, the non-Rust dependencies are basically the same as Iced (plus some optional text bits). Open an issue over on the KAS repo and let me know what fails. You could also try --no-default-features.

@NicTanghe
Copy link

NicTanghe commented Mar 25, 2023

Hello,
I`m just here to make sure that the format used is USD and not old ones.
https://openusd.org/release/index.html
https://github.com/PixarAnimationStudios/USD

THis does mean a MaterialX /hydra deligate should be provided.
https://github.com/AcademySoftwareFoundation/MaterialX

IT`s also always a good idea in anyhing that outputs color to implement. (best wait until 2.0 is released ? )
ACES:
https://github.com/AcademySoftwareFoundation/OpenColorIO-Config-ACES

the entire industry is switching over and gltf is basically depricated.
this does mean a materialX renderer is supposed to be implemented.

obj ects are just intermediates these days.

bq-wrongway added a commit to bq-wrongway/iced that referenced this issue Apr 5, 2023
I collapsed Animations because the underlying issue was resolved, and i added issue iced-rs#343 to 3D Canvas widget
@you-win
Copy link

you-win commented Aug 3, 2023

the entire industry is switching over and gltf is basically depricated

Dropping in to dispute that gltf is "basically depricated (sic)". GLTF is a commonly supported format in 3d modeling as well as game development (see Godot, Unity, Unreal)

@breynard0
Copy link
Contributor

While GLTF isn't deprecated, the USD file format is indeed much more advanced and comprehensive than GLTF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants