Horde3D

Next-Generation Graphics Engine
It is currently 12.05.2024, 23:43

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: h3dSetupViewport + SVN
PostPosted: 17.04.2011, 18:06 
Offline

Joined: 11.01.2011, 18:36
Posts: 13
Location: England
Hi,

I'm trying to compile my code with the latest version of Horde3D from SVN. I am getting this error:
Code:
error: ‘h3dSetupViewport’ was not declared in this scope


What has it been replaced with?

_________________
\James


Top
 Profile  
Reply with quote  
PostPosted: 17.04.2011, 18:23 
Offline

Joined: 17.04.2011, 15:13
Posts: 8
h3dSetNodeParamI() with H3DCamera::Viewport*


Top
 Profile  
Reply with quote  
PostPosted: 17.04.2011, 18:41 
Offline

Joined: 11.01.2011, 18:36
Posts: 13
Location: England
jacereda wrote:
h3dSetNodeParamI() with H3DCamera::Viewport*


Can you give an example?

_________________
\James


Top
 Profile  
Reply with quote  
PostPosted: 17.04.2011, 18:56 
Offline

Joined: 17.04.2011, 15:13
Posts: 8
Lua, just use the equivalent in C++:

Code:
   h3d.setNodeParamI(self.node, H3DCamera.ViewportXI, 0)
   h3d.setNodeParamI(self.node, H3DCamera.ViewportYI, 0)
   h3d.setNodeParamI(self.node, H3DCamera.ViewportWidthI, width)
   h3d.setNodeParamI(self.node, H3DCamera.ViewportHeightI, height)
 


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 12 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group