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 

BSP and VTF fixes


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





PostPosted: Thu Jan 29, 2009 12:22 am    Post subject:
BSP and VTF fixes
Reply with quote

Fixes for the bsp and vtf plugins:

Somehow, one of the shaders in the bsp plugin started behaving
incorrectly between the original submission and now. I suspect it has
to do with a typo in the setup of the shader that was fixed at some
point, or it happened during the recent warnings purge. In any case, I
had to invert the usage of a parameter in the shader to make it behave
properly again.


The vtf plugin wasn't working in Windows due to OS differences in the
byte-packing of the header structure (on Windows, the big block read was
causing a buffer overrun). I fixed this by reading the structure from
the file field by field. It's now happy on both Linux and Windows.

--"J"



------------------
Post generated by Mail2Forum
Back to top
Tomlinson, Gordon
Guest





PostPosted: Thu Jan 29, 2009 12:57 am    Post subject:
BSP and VTF fixes
Reply with quote

Er Urvi :)

but while Im still around I will try to ensure you get what is needed, not matter what the duck whit says

________________________________

From: on behalf of Jason Daly
Sent: Wed 1/28/2009 7:22 PM
To: OpenSceneGraph Submissions
Subject: BSP and VTF fixes




Fixes for the bsp and vtf plugins:

Somehow, one of the shaders in the bsp plugin started behaving
incorrectly between the original submission and now. I suspect it has
to do with a typo in the setup of the shader that was fixed at some
point, or it happened during the recent warnings purge. In any case, I
had to invert the usage of a parameter in the shader to make it behave
properly again.


The vtf plugin wasn't working in Windows due to OS differences in the
byte-packing of the header structure (on Windows, the big block read was
causing a buffer overrun). I fixed this by reading the structure from
the file field by field. It's now happy on both Linux and Windows.

--"J"





------------------
Post generated by Mail2Forum
Back to top
Tomlinson, Gordon
Guest





PostPosted: Thu Jan 29, 2009 1:05 am    Post subject:
BSP and VTF fixes
Reply with quote

do sorry wrong mail

________________________________

From: on behalf of Tomlinson, Gordon
Sent: Wed 1/28/2009 7:56 PM
To: OpenSceneGraph Submissions
Subject: RE: BSP and VTF fixes


Er Urvi :)

but while Im still around I will try to ensure you get what is needed, not matter what the duck whit says

________________________________

From: on behalf of Jason Daly
Sent: Wed 1/28/2009 7:22 PM
To: OpenSceneGraph Submissions
Subject: BSP and VTF fixes




Fixes for the bsp and vtf plugins:

Somehow, one of the shaders in the bsp plugin started behaving
incorrectly between the original submission and now. I suspect it has
to do with a typo in the setup of the shader that was fixed at some
point, or it happened during the recent warnings purge. In any case, I
had to invert the usage of a parameter in the shader to make it behave
properly again.


The vtf plugin wasn't working in Windows due to OS differences in the
byte-packing of the header structure (on Windows, the big block read was
causing a buffer overrun). I fixed this by reading the structure from
the file field by field. It's now happy on both Linux and Windows.

--"J"





------------------
Post generated by Mail2Forum
Back to top
Robert Osfield
Guest





PostPosted: Thu Jan 29, 2009 11:03 am    Post subject:
BSP and VTF fixes
Reply with quote

Thanks Jason, changes now merged and submitted to SVN.

On Thu, Jan 29, 2009 at 12:22 AM, Jason Daly <> wrote:
Quote:

Fixes for the bsp and vtf plugins:

Somehow, one of the shaders in the bsp plugin started behaving incorrectly
between the original submission and now. I suspect it has to do with a typo
in the setup of the shader that was fixed at some point, or it happened
during the recent warnings purge. In any case, I had to invert the usage of
a parameter in the shader to make it behave properly again.


The vtf plugin wasn't working in Windows due to OS differences in the
byte-packing of the header structure (on Windows, the big block read was
causing a buffer overrun). I fixed this by reading the structure from the
file field by field. It's now happy on both Linux and Windows.

--"J"






------------------
Post generated by Mail2Forum
Back to top
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 [vpb] Command-line fixes robertosfield Submission 0 Mon Mar 12, 2018 4:11 pm View latest post
No new posts [vpb] Command-line fixes Andreas Ekstrand Submission 0 Sat Sep 30, 2017 2:56 pm View latest post
No new posts Typo fixes robertosfield Submission 0 Mon May 30, 2016 11:41 am View latest post
No new posts Typo fixes Alberto Luaces Submission 0 Wed Mar 23, 2016 1:08 pm View latest post
No new posts Case sensitivity fixes for mingw cros... robertosfield Submission 2 Tue Jan 19, 2016 3:01 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