<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Can I set up textures in VR? I'm thinking about something like
these:<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://docs.unrealengine.com/4.26/en-US/BuildingWorlds/VRMode/">https://docs.unrealengine.com/4.26/en-US/BuildingWorlds/VRMode/</a></p>
<div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="https://www.youtube.com/watch?v=hTro_QBEXR4">https://www.youtube.com/watch?v=hTro_QBEXR4</a></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">John<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 6/24/21 3:54 PM, Michalis Kamburelis
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAKzBGZNVQ9eAaTmULHFtmA2H_9KuKgvsFg9x0BztJ9Vgs1YpdQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">The image information is not available, as in
Blender 2.8 they removed an (old) way how to specify the texture
on faces.</div>
<div dir="auto"><br>
</div>
<div dir="auto">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 :) )</div>
<div dir="auto"><br>
</div>
<div dir="auto">W dniu czw., 24.06.2021 o 22:08 John Carlson <<a
href="mailto:yottzumm@gmail.com" moz-do-not-send="true">yottzumm@gmail.com</a>>
napisał(a):<br>
</div>
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">I
added these lines to the Blender X3D exporter, at line 654<br>
<br>
print("Image", image)<br>
print("Use H3D", use_h3d)<br>
<br>
<br>
Here is the output:<br>
<br>
Image None<br>
Use H3D False<br>
<br>
So...the image is not set? Let's do some snooping:<br>
<br>
coderextreme@coderextreme-Kubuntu20:~/Downloads$ strings <br>
x3d_texture_2.82.blend |grep png<br>
Untitled.png<br>
//Untitled.png<br>
Desktop/Untitled.png<br>
coderextreme@coderextreme-Kubuntu20:~/Downloads$ strings <br>
x3d_texture_2.79.blend |grep png<br>
Untitled.png<br>
//Untitled.png<br>
Desktop/Untitled.png<br>
<br>
I don't have these pngs.<br>
<br>
I will look and see how to set the png for the texture,
meanwhile, I <br>
don't think that the png exists, therefore, image is None,
and the <br>
ImageTexture and TextureTransform don't print!<br>
<br>
I'll get back to you!<br>
<br>
John<br>
<br>
On 6/24/21 1:34 PM, John Carlson wrote:<br>
> Note:<br>
><br>
> <a href="https://developer.blender.org/T66534"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://developer.blender.org/T66534</a><br>
><br>
> Has some sample files to start with.<br>
><br>
> On 6/22/21 7:48 AM, Michalis Kamburelis wrote:<br>
><br>
>> I wrote a document outlining my Blender->X3D
exporter wishlist, and<br>
>> how to submit patches to Blender:<br>
>><br>
>> <a
href="https://docs.google.com/document/d/1ad5XsU43gQGxqC7ehSBr21mdX2dQjKZCSXUQtvRwTHw/edit?usp=sharing"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://docs.google.com/document/d/1ad5XsU43gQGxqC7ehSBr21mdX2dQjKZCSXUQtvRwTHw/edit?usp=sharing</a>
<br>
>><br>
>><br>
>> Please feel free to distribute it to whoever is
interested. Comments <br>
>> welcome :)<br>
>><br>
>> Regards,<br>
>> Michalis<br>
>><br>
>> _______________________________________________<br>
>> x3d-public mailing list<br>
>> <a href="mailto:x3d-public@web3d.org"
target="_blank" moz-do-not-send="true">x3d-public@web3d.org</a><br>
>> <a
href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>