<div dir="ltr">there is a short procedure to export the model with textures - there are youtube videos online for this. I think you have to check the selected - see the image<br><div><br></div><div><img src="cid:ii_kmrlfapp0" alt="image.png" width="471" height="490"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 26, 2021 at 11:41 PM Jeff White <<a href="mailto:jeffrey.white@gmail.com">jeffrey.white@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Thanks for the info. I had already checked the .mtl file and there are no textures referenced in this model. It does everything with materials. All material names in the .obj match what is in the .mtl file as well so I'm not sure what the problem is. The paths all reference the current directory so those should be fine.<br></div><div><br></div><div>If anyone knows of a Blender export plugin for .ive or .osgb that might be helpful. I haven't found one yet so I am assuming I will probably have to write one myself.</div><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Friday, March 26, 2021 at 10:58:51 AM UTC-5 <a href="mailto:trajce.ni...@gmail.com" target="_blank">trajce.ni...@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Jeff,<br><div><br></div><div>I know this problem as well. Obviously each .obj file has .mtl file with it. It is a text file where materials and textures are defined. You can edit with values you find appropriate . As well check the texture paths</div></div><br><div class="gmail_quote"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 25, 2021 at 8:46 PM Jeff White <<a rel="nofollow">jeffre...@gmail.com</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>A few of my 3D model files (which are in .obj format) look different when loaded into Blender compared to viewing them in osgviewer. I can see all the colors clearly in Blender but in osgviewer the model appears dark. I have attached a few pictures here. I commonly see this with older model files that have materials specified but no associated textures.<br></div><div><br></div><div>I am a developer and not a 3D modeler so I don't have enough Blender experience to know why it looks different in that software. Is there something else I need to do to prepare these models for use in OSG? I know that Blender places a light in the scene but I thought that osgviewer had a small light pointing out of the camera as well.<br></div><div><br></div><div>Any help would be appreciated. Thanks,</div><div><br></div><div>Jeff<br></div>
<p></p></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
-- <br>
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a rel="nofollow">osg-users+...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/96f91a17-9cdd-4f03-9d98-7e2defcbcf55n%40googlegroups.com?utm_medium=email&utm_source=footer" rel="nofollow" target="_blank">https://groups.google.com/d/msgid/osg-users/96f91a17-9cdd-4f03-9d98-7e2defcbcf55n%40googlegroups.com</a>.<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">trajce nikolov nick<br></div>
</blockquote></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com" target="_blank">osg-users+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/d8138555-c9e1-482b-96cd-4823178aed01n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/osg-users/d8138555-c9e1-482b-96cd-4823178aed01n%40googlegroups.com</a>.<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">trajce nikolov nick<br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/CAO-%2BzikYyD%3DrLzTxNWoY-1Rbn68cPSYSsjykkAOMyj0kzQQCCA%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/CAO-%2BzikYyD%3DrLzTxNWoY-1Rbn68cPSYSsjykkAOMyj0kzQQCCA%40mail.gmail.com</a>.<br />