Sign in to follow this  

cant use oop basecode

This topic is 4689 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, i can build and run the nehe oop basecode but when i want to add my 3ds loader class to it, it cant render my model. i tried my code @glut and my code works ok. what can be the problem? i can post the code, if neceserry (but i dont think, i think this is a general problem) thank you very much..

Share this post


Link to post
Share on other sites
okey i see the problem is i am defining the model in the application class and if i make it global it works.
so why does it happen? how can i use an object in another class? i tried pointers but could not make it work..

Share this post


Link to post
Share on other sites
of course i know oo basis but there is something wierd. i mean i try my system in another basecode "as same" and it worked but it did not work with nehe ogl framework. and i just ask are teher anything i may miss about opengl? or oop?

anyway i solved the problem with some fake..
Thank you.

Share this post


Link to post
Share on other sites

This topic is 4689 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this