[x3d-public] Blender X3D exporter: what to do, how to do it

John Carlson yottzumm at gmail.com
Thu Jun 24 14:41:28 PDT 2021


Can I set up textures in VR? I'm thinking about something like these:

https://docs.unrealengine.com/4.26/en-US/BuildingWorlds/VRMode/

https://www.youtube.com/watch?v=hTro_QBEXR4

John

On 6/24/21 3:54 PM, Michalis Kamburelis wrote:
> The image information is not available, as in Blender 2.8 they removed 
> an (old) way how to specify the texture on faces.
>
> One has to use nodes for this. Like the glTF exporter does, the way to 
> get the PBR texture in simple cases should be even visible in Blender 
> UI if you choose to display "developer hints" or such in Preferences 
> (I'm answering from the phone now, without looking at Blender :) )
>
> W dniu czw., 24.06.2021 o 22:08 John Carlson <yottzumm at gmail.com 
> <mailto:yottzumm at gmail.com>> napisał(a):
>
>     I added these lines to the Blender X3D exporter, at line 654
>
>                         print("Image", image)
>                          print("Use H3D", use_h3d)
>
>
>     Here is the output:
>
>     Image None
>     Use H3D False
>
>     So...the image is not set?  Let's do some snooping:
>
>     coderextreme at coderextreme-Kubuntu20:~/Downloads$ strings
>     x3d_texture_2.82.blend |grep png
>     Untitled.png
>     //Untitled.png
>     Desktop/Untitled.png
>     coderextreme at coderextreme-Kubuntu20:~/Downloads$ strings
>     x3d_texture_2.79.blend |grep png
>     Untitled.png
>     //Untitled.png
>     Desktop/Untitled.png
>
>     I don't have these pngs.
>
>     I will look and see how to set the png for the texture, meanwhile, I
>     don't think that the png exists, therefore, image is None, and the
>     ImageTexture and TextureTransform don't print!
>
>     I'll get back to you!
>
>     John
>
>     On 6/24/21 1:34 PM, John Carlson wrote:
>     > Note:
>     >
>     > https://developer.blender.org/T66534
>     <https://developer.blender.org/T66534>
>     >
>     > Has some sample files to start with.
>     >
>     > On 6/22/21 7:48 AM, Michalis Kamburelis wrote:
>     >
>     >> I wrote a document outlining my Blender->X3D exporter wishlist, and
>     >> how to submit patches to Blender:
>     >>
>     >>
>     https://docs.google.com/document/d/1ad5XsU43gQGxqC7ehSBr21mdX2dQjKZCSXUQtvRwTHw/edit?usp=sharing
>     <https://docs.google.com/document/d/1ad5XsU43gQGxqC7ehSBr21mdX2dQjKZCSXUQtvRwTHw/edit?usp=sharing>
>
>     >>
>     >>
>     >> Please feel free to distribute it to whoever is interested.
>     Comments
>     >> welcome :)
>     >>
>     >> Regards,
>     >> Michalis
>     >>
>     >> _______________________________________________
>     >> x3d-public mailing list
>     >> x3d-public at web3d.org <mailto:x3d-public at web3d.org>
>     >> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>     <http://web3d.org/mailman/listinfo/x3d-public_web3d.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210624/acd7da29/attachment-0001.html>


More information about the x3d-public mailing list