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 

PHYSFS / VFS - How to make a custom osgDB:: function ?


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Steal
User


Joined: 26 Jan 2017
Posts: 57

PostPosted: Mon Jul 10, 2017 1:18 pm    Post subject:
PHYSFS / VFS - How to make a custom osgDB:: function ?
Reply with quote

Hi,

More keywords would be: How to reimplement or override the osgDB namespace functions? They have
Code:
__declspec(dllimport)
and it seems the osgPlugins are hardcoded to use this.

From the osgrecipes I've got a small, effective and somewhat working ReaderWriterPhysFS. It reads my model.obj.physfs properly, however, osgdb_obj looks for the existence of the mtllib file using
Code:
osgDB::findDataFile


What are my options to make subloads like textures work, because right now it says

Code:
Obj unable to find mtllib 'bla.mtl'


Thank you!

Cheers,
Johny
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General 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 PHYSFS / VFS - How to make a custom o... Steal General 4 Mon Jul 10, 2017 1:28 pm View latest post
No new posts Custom camera manipulator Ninin General 1 Wed Dec 28, 2016 8:24 am View latest post
No new posts Error with osgDB::readRefNodeFiles[So... robertosfield General 3 Tue Oct 04, 2016 11:15 am View latest post
No new posts slow speed of osgDB::writeImageFile()... cbuchner1 General 0 Mon Sep 12, 2016 9:09 am View latest post
No new posts Trigger some function when PagedLOD f... Bruno Oliveira General 2 Sat Sep 10, 2016 8:58 am 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