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 

DrawElementsUShort change in VPB


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Submission
View previous topic :: View next topic  
Author Message
Martins Innus
Guest





PostPosted: Tue Mar 24, 2009 8:08 pm    Post subject:
DrawElementsUShort change in VPB
Reply with quote

Robert,
Attached is a modified file to fix an issue i was having with osgdem.
As i wrote on osg-users, I was not able to use the --terrain-tile-size
option with a value larger than 256. The attached file fixes the
problem for me. I just replaced short with int in several places.

I don't know if you think this is appropriate for general use, but i
figured I'd post it if it helped anyone else.

Martins



------------------
Post generated by Mail2Forum
Back to top
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12243

PostPosted: Wed Mar 25, 2009 12:00 pm    Post subject:
DrawElementsUShort change in VPB
Reply with quote

Thanks Martins, I've gone ahead and merged this change.  It will be a small performance hit, but only when using the polygonal model generation, and this is something that won't be the default for much longer as the osgTerrain::TerrainTile will soon be the default.

On Tue, Mar 24, 2009 at 8:07 PM, Martins Innus < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Robert,
       Attached is a modified file to fix an issue i was having with osgdem. As i wrote on osg-users, I was not able to use the --terrain-tile-size option with a value larger than 256.  The attached file fixes the problem for me.  I just replaced short with int in several places.

       I don't know if you think this is appropriate for general use, but i figured I'd post it if it helped anyone else.

Martins

_______________________________________________
osg-submissions mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org



------------------
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 -> Submission 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 change camera's yaw and pitch,... Rodrigo General [3rdparty] 3 Thu Jan 31, 2019 12:43 am View latest post
No new posts osg::Cylinder height change not shown... DeadParrot General 2 Mon Nov 26, 2018 9:47 pm View latest post
No new posts Change color of node read from dxf file dhhabyc General 10 Sat Nov 17, 2018 12:58 pm View latest post
No new posts minor change: move assumeSizedInterna... mp3butcher General 9 Wed Aug 15, 2018 10:07 pm View latest post
No new posts Minor change proposal : Blacklist usa... mp3butcher General 14 Mon Aug 13, 2018 1:42 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