Blender => Java3d with Texture UV-Mapping

View: New views
8 Messages — Rating Filter:   Alert me  

Blender => Java3d with Texture UV-Mapping

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I am struggling in a project with JAVA3D and Blender. At this moment I am not able to get the UV-mapped models from Blender to Java3d.

I get to models, but they have no texture on it.

At the moment I use the .obj format. But the Java3d loader seems to ignore the uv mapping inside.

I although tested the blend2java script from blender, but this does only work, if I use textures which are only rolled around my models, not uv mapped. I have the same behavior with the regular obj. files. Easy wrapped textures do work.

Can somebody help, which is the best way (or maybe the only way),  to get the uv-mapping from some modelformat or some loader into java3d?

Nice regards
chris
[Message sent by forum member 'chhrabia' (c.hrabia@...)]

http://forums.java.net/jive/thread.jspa?messageID=370531

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Blender => Java3d with Texture UV-Mapping ??How to?

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

Try to use VRML with VRML97 Loader.
 It can handle complex 3D models, while OBJ is good for simple ones.
[Message sent by forum member 'zesharp' (zando.silva@...)]

http://forums.java.net/jive/thread.jspa?messageID=370713

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Blender => Java3d with Texture UV-Mapping ??How to?

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, I will try it. Thank you for your advise.

Regards Chris
[Message sent by forum member 'chhrabia' (c.hrabia@...)]

http://forums.java.net/jive/thread.jspa?messageID=370928

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Blender => Java3d with Texture UV-Mapping ??How to?

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey,
I tried the VRML97 loaders, but it does not meet my expectations:

I tested a bunch of Java3D loaders and made this experiences:
- 3DS Loader, interpretation of material is very good, but never get a texture, errors if you have textures with a filename longer than 13.
- Obj Loader, interpretation of material is not working correct, but if you use texture spherical mapping this works good
- Milkshape3D Loader does not work at all
- CyberX3D VRML97 with all different support formats the interpretation of material is much to bright and does not look good and  I see the texture with planar mapping and the interpretation of the material is completely wrong.
- Lw3dLoader does not work at my tests
- J3D-VRML97 interpretation of material is good but does not load my texture

Has somebody another advice?
Thanks Chris
[Message sent by forum member 'chhrabia' (c.hrabia@...)]

http://forums.java.net/jive/thread.jspa?messageID=371246

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Blender => Java3d with Texture UV-Mapping ??How to?

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have tweaked many of the j3d loaders--including the 3DS, OBJ loaders--if you file an issue, including the model files that you want working (attachment), I will take a look.

Also, please see post about the Collada loader I am improving--texture mapping is working already in some cases in the 2nd-run code (http://shinoblogbyshiva.blogspot.com/search/label/Collada). I am working now to improve support.
[Message sent by forum member 'mcneillk' (ken@...)]

http://forums.java.net/jive/thread.jspa?messageID=371300

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Blender => Java3d with Texture UV-Mapping ??How to?

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris,

could you provide us with a link for downloading your exported files or could you send them (obj, VRML97) to 'info@...'. I would also be interested in a X3D/xml 3.x export version.

August
[Message sent by forum member 'interactivemesh' (A.Lammersdorf@...)]

http://forums.java.net/jive/thread.jspa?messageID=371303

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Blender => Java3d with Texture UV-Mapping ??How to?

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did you try the version of j3d-vrml97 on the Halden VR Centre website? Info on it can be found by searching the forum archives, but the link is here.

http://create.ife.no/vr/tools/j3d-vrml97/

It has considerably better handling of materials and textures than the original version and we added several options that can be set via properties to improve the appearance and VRML conformance. In some cases you need to set a property to enable features (e.g.modulate, relativeBase, mipmap, nonpowtwo) as we didn't want to break applications that expected the behaviour of the older version. There are lots of other improvements too, including much better performance (memory usage and time to load files). If you did try it then I'd be interested to see any model that it doesn't load correctly.

Michael.
[Message sent by forum member 'mlouka' (michael.louka@...)]

http://forums.java.net/jive/thread.jspa?messageID=371319

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Blender => Java3d with Texture UV-Mapping ??How to?

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey,
sorry for my late answer. I got it working. The problem was not the vrml97 loader from sun. My modeler made a mistake and the UV mapping was not fitting the geometry correct.

So conclusion, the vrml loader from sun does work very well with uv mapping from blender(with original export script from blender).

Thank you for your help
Chris
[Message sent by forum member 'chhrabia' ]

http://forums.java.net/jive/thread.jspa?messageID=372812

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...