OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

No specular maps, exporting from blender or converting using osgconv


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins]
View previous topic :: View next topic  
Author Message
Klemen Červ
Newbie


Joined: 16 May 2018
Posts: 1

PostPosted: Wed May 16, 2018 1:08 pm    Post subject:
No specular maps, exporting from blender or converting using osgconv
Reply with quote

Hello,
I'm having a problem getting specular(or any non diffuse) textures to show on models
when I export the model from Blender 2.79 using the osgexport add-on (cedricpinson's osgexport).
Result is as if the diffuse and specular textures were multiplied and then used as a diffuse texture.

Exporting to obj and converting to ive or osg using osgconv also doesn't work.
Result is an overall darker export, compared to not using a specular map.

I also tried exporting from 3dsMax from a friends computer using the worldviz osg exporter,
same result as exporting from blender.

Could someone give me a working workflow from Blender to osg or tell me what I am doing wrong?
Even an example of an osgt file with a 3d model using diffuse and specular map at the same time would be
useful so I could hack in the specular map in the text editor after export.

Thank you for your time and wisdom!

Cheers, Klemen Červ
Back to top
View user's profile Send private message
kornerr
Appreciator


Joined: 01 Oct 2013
Posts: 273

PostPosted: Thu May 17, 2018 10:24 am    Post subject:
No specular maps, exporting from blender or converting using osgconv
Reply with quote

Hi.
Since specular map is a texture, you would generally manage texture
application through shaders and osg::Program.
Blender doesn't and can't export shaders because each shader is
application specific: Blender shaders are different from
OpenSceneGraph ones.

So, you need to manage specular map in your own shaders.

On 16 May 2018 at 16:08, Klemen Červ <> wrote:
Quote:
Hello,
I'm having a problem getting specular(or any non diffuse) textures to show on models
when I export the model from Blender 2.79 using the osgexport add-on (cedricpinson's osgexport).
Result is as if the diffuse and specular textures were multiplied and then used as a diffuse texture.

Exporting to obj and converting to ive or osg using osgconv also doesn't work.
Result is an overall darker export, compared to not using a specular map.

I also tried exporting from 3dsMax from a friends computer using the worldviz osg exporter,
same result as exporting from blender.

Could someone give me a working workflow from Blender to osg or tell me what I am doing wrong?
Even an example of an osgt file with a 3d model using diffuse and specular map at the same time would be
useful so I could hack in the specular map in the text editor after export.

Thank you for your time and wisdom!

Cheers, Klemen Červ

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73652#73652




Attachments:
http://forum.openscenegraph.org//files/spec_report_171.rar





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts osgconv osgjs bug file not found memory_thrasher Plugins [osgPlugins] 2 Tue Jul 31, 2018 5:21 pm View latest post
No new posts Converting PrimitiveSet to use triang... Waaayoff General 7 Fri Jul 27, 2018 12:06 pm View latest post
No new posts Fix hardware mipmap generation for cu... Farshid Lashkari Submission 0 Wed Jul 18, 2018 3:47 pm View latest post
No new posts Exporting OpenFlight Models Daniel Emminizer, Code... General 2 Wed Jun 27, 2018 5:02 pm View latest post
No new posts obj plugin does not support diffuse ... robertosfield Submission 6 Mon Mar 12, 2018 5:17 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP