Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / I need some help in here ...

Author
Message
Spelltox
17
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 12th Jun 2007 10:23
i wrote this code and i'm getting this weird "split" effect (like the image shows) the matrix is painted twice for some reason -

[img]null[/img]

Attachments

Login to view attachments
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 12th Jun 2007 14:02
Why create another camera? As a default you get a camera number 0 to play with. You are effectively rendering everything twice.

Just change camera bit of code to;



You only need to create extra cameras if doing clever games with rear view mirrors or cctv screens where you need to project view of a different area of game onto an existing object.

Boo!

Login to post a reply

Server time is: 2024-11-25 17:52:14
Your offset time is: 2024-11-25 17:52:14