Forum

rendering question

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

rendering question

Postby franqutrass » Sun Oct 19, 2014 7:52 pm

Hello, I have a question, how could I adapt this code to my quake engine (quake 2):

http://irrlicht.sourceforge.net/forum/viewtopic.php?f=9&t=45531

I'm trying to adapt it to berserker (1.42) , but I don't know what or where I need to copy in order to get that render.
hello
User avatar
franqutrass
 
Posts: 69
Joined: Wed Dec 30, 2009 6:29 pm
Location: peru

Re: rendering question

Postby Barnes » Mon Oct 20, 2014 2:40 am

This is a very bad idea :shock: . The berserker's code focused on older cards (arbfp maximum) and very hard for a beginner. The best thing that you can do here is add glsl render and remove all the old render branches :)
User avatar
Barnes
 
Posts: 226
Joined: Thu Dec 24, 2009 2:26 pm
Location: Russia, Moscow

Re: rendering question

Postby franqutrass » Wed Oct 22, 2014 1:06 am

:shock: and.... how do I do that? :D
hello
User avatar
franqutrass
 
Posts: 69
Joined: Wed Dec 30, 2009 6:29 pm
Location: peru

Re: rendering question

Postby Barnes » Wed Oct 22, 2014 10:29 am

User avatar
Barnes
 
Posts: 226
Joined: Thu Dec 24, 2009 2:26 pm
Location: Russia, Moscow

Re: rendering question

Postby franqutrass » Wed Oct 22, 2014 3:00 pm

ready, but isn't it from quake 2 xp? is just that berserker brings all its code in a Main.cpp "file", and it makes it more confused. :(

this is the file:

https://mega.co.nz/#!VBMgXAjb!j6Eexdyy7f0VmfsO4zupo3NcEA_p5_sm-itNPRIXDpE
hello
User avatar
franqutrass
 
Posts: 69
Joined: Wed Dec 30, 2009 6:29 pm
Location: peru

Re: rendering question

Postby Barnes » Thu Oct 23, 2014 10:43 am

Oh yes, bers@q2 code it is something..... :lol:
User avatar
Barnes
 
Posts: 226
Joined: Thu Dec 24, 2009 2:26 pm
Location: Russia, Moscow

Re: rendering question

Postby franqutrass » Thu Oct 23, 2014 7:41 pm

I have found this function in the berserker's source code "void Init_Palette ()", do you think I have to add some around there? :P
hello
User avatar
franqutrass
 
Posts: 69
Joined: Wed Dec 30, 2009 6:29 pm
Location: peru

Re: rendering question

Postby Barnes » Thu Oct 23, 2014 8:18 pm

nope....
These things are only available for the true Sith. Only the dark side of the force allows you to see truth in this code. :mrgreen:
User avatar
Barnes
 
Posts: 226
Joined: Thu Dec 24, 2009 2:26 pm
Location: Russia, Moscow


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 1 guest