Comments (2)
libGDX doesn't have built in features to render anything like Cycles. Also isn't Cycles a ray tracing engine? libGDX doesn't do ray tracing out of the box.
Since it's OpenGL EX 2+ one could write shaders to simulate Cycles materials but you would have to find those shaders online or write them yourself.
Also the G3D format only support referencing raster bitmap files as textures, it doesn't support procedural materials or anything like that. If you could write a shader in libGDX the G3D file would still just contain the model, bones, textures and light information (diffuse color, specular color and such). You would have to load the model and fine tune the shader to replicate what you did in Blender.
So your best bet would be to bake the materials in Blender to normal texture files (assuming you're not using fancy animated materials) and apply the baked textures to your model before exporting.
from libgdx_blender_g3d_exporter.
Yes, I think I will go with baking for now.
The main issue that I am facing is that there is a lot of hit and miss with exports currently. It seems like half of the time the mesh becomes too much for libgdx to handle and the other half of the time the materials are too complicated. I can work around that but I wish there was a way to eliminate much of that experimentation and guess work and just go with what works regardless of the limitations.
I am planning on checking BDX and Mundus and see if they can limit me to only the 3D stuff that overlaps Blender and libgdx.
Thanks for working on the exporter it definitely makes life easier. May be the only suggestion I have is that the tool can give some quick info on the export page to let the user know what will be included/not included in the g3d file.
from libgdx_blender_g3d_exporter.
Related Issues (18)
- G3DB output HOT 7
- 2.78 support? HOT 4
- Exporting unused parts
- Export fail if scene only contains animation HOT 4
- Export issues HOT 4
- Another export issue HOT 5
- Texture missing HOT 2
- Texture file name, and Material.emissive property HOT 3
- Can't export with texture HOT 2
- bpy.ops.export_json_g3d scene arguments HOT 1
- Won't work with blender 2.8 HOT 2
- armature animation error
- Needs an update to blender 2.74 HOT 4
- Y-up and G3DB support HOT 2
- Dope sheet actions don't get exported HOT 10
- Some python error stack trace when tried to use it. HOT 7
- Export doesn't include animations HOT 2
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 libgdx_blender_g3d_exporter.