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 

Offline conversion to dds without gc


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins]
View previous topic :: View next topic  
Author Message
wesee
User


Joined: 20 Apr 2012
Posts: 32

PostPosted: Tue Nov 08, 2016 4:17 pm    Post subject:
Offline conversion to dds without gc
Reply with quote

Hi,

I try to develop a small tool for offline-conversion which converts openflight-files with rgb-textures into osgb-files with dss-textures. I resued the code of osgconv and have seen I need a graphics context for the conversion of textures into dds-format (class MyGraphicsContext in osgconv.cpp). Unfortunately our conversion-machine (virtual machine) has no 3D-graphics card, and therefore no graphics context.

Does anyone know a solution without the need of a graphics context?

Thank you!

Cheers,
WeSee
Back to top
View user's profile Send private message
errno (Lionel Lagarde)
User


Joined: 10 Mar 2009
Posts: 54
Location: Toulouse, France

PostPosted: Tue Nov 08, 2016 4:47 pm    Post subject:
Offline conversion to dds without gc
Reply with quote

Hi,

have a look at NVidia Texture Tools (nvtt).

Lionel


On 08/11/2016 17:17, We See wrote:
Quote:
Hi,

I try to develop a small tool for offline-conversion which converts openflight-files with rgb-textures into osgb-files with dss-textures. I resued the code of osgconv and have seen I need a graphics context for the conversion of textures into dds-format (class MyGraphicsContext in osgconv.cpp). Unfortunately our conversion-machine (virtual machine) has no 3D-graphics card, and therefore no graphics context.

Does anyone know a solution without the need of a graphics context?

Thank you!

Cheers,
WeSee

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










------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message Send e-mail
wesee
User


Joined: 20 Apr 2012
Posts: 32

PostPosted: Mon Nov 14, 2016 5:19 pm    Post subject:
Reply with quote

Hi Lionel,

Thank you for the hint, works great (but horribly slow)! Do you know, what the option -fast changes?

Quote:
have a look at NVidia Texture Tools (nvtt).


Cheers,
WeSee
Back to top
View user's profile Send private message
errno (Lionel Lagarde)
User


Joined: 10 Mar 2009
Posts: 54
Location: Toulouse, France

PostPosted: Tue Nov 15, 2016 8:20 am    Post subject:
Offline conversion to dds without gc
Reply with quote

Hi,

Do you mean -quick ? Maybe the option has different names in the
different version of the library.

This option force the library to use a faster algorithm to choose the
two key colors of each 4x4 group of pixels. I do not know the real
impact of the option.

I do not remember having performance issues. We use the API, not the
executable. Windows is really bad at starting a lot of times the same
program. The -list option is there to get round this issue.


On 14/11/2016 18:19, We See wrote:
Quote:
Hi Lionel,

Thank you for the hint, works great (but horribly slow)! Do you know, what the option -fast changes?


Quote:
have a look at NVidia Texture Tools (nvtt).

Cheers,
WeSee

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










------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message Send e-mail
wesee
User


Joined: 20 Apr 2012
Posts: 32

PostPosted: Tue Nov 15, 2016 11:03 am    Post subject:
Reply with quote

Hi Lionel,

Ok, I will try...

Thank you very much!

Cheers,
WeSee
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 How to do osg earth in offline Rambabu General 1 Thu Mar 30, 2017 11:16 am View latest post
No new posts Fix FBX conversion to OpenGL coordina... Farshid Lashkari Submission 1 Wed Mar 15, 2017 6:34 pm View latest post
No new posts Offline screen render without pbuffer... tnassour General 0 Wed Feb 15, 2017 7:29 am View latest post
No new posts About LatLonHeight to XYZ Conversion Rambabu General 2 Wed Feb 01, 2017 5:35 am View latest post
No new posts OSG Ellipsoid to Sphere Conversion[so... Inna General 10 Mon Sep 26, 2016 5:05 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