Duke4.net Forums: nerozero - Viewing Profile - Duke4.net Forums

Jump to content

Hide message Show message
Welcome to the Duke4.net Forums!

Register an account now to get access to all board features. After you've registered and logged in, you'll be able to create topics, post replies, send and receive private messages, disable the viewing of ads and more!

Reputation: 6 Neutral
Junior Members
Active Posts:
10 (0.04 per day)
Most Active In:
Everything EDuke32 (10 posts)
13-September 17
Profile Views:
Last Active:
User is offline Sep 26 2017 11:23 PM

My Information

Age Unknown
Birthday Unknown
Not Telling Not Telling

Contact Information


Topics I've Started

  1. Changing FOV

    25 September 2017 - 10:59 PM

    Hey guys,

    I have tried the command "r_pr_fov 625" to try and change the fov to near 110 degrees but nothing seems to happen. It doesn't give me an error message, it looks like it accepts the command and I am using polymer, am I doing something wrong?

  2. Drawing a triangle on top of Duke

    22 September 2017 - 12:57 AM

    Hey guys,

    I am trying to understand more how the drawing and buffers are handled in eduke and the shaders. To do this I thought I would try and draw a simple triangle on the screen but certain points are still confusing me in how they are handled in eduke as most things seem to be compiled at run time.

    Here is my code for drawing a simple triangle that I am just hooking into polymer.cpp in a place I know that is getting called:

            glGenVertexArrays(1, &vao);
    	glGenBuffers(1, &vbo);
    	glBindBuffer(GL_ARRAY_BUFFER, vbo);
    	// Create the buffer, but don't load anything yet
    	glBufferData(GL_ARRAY_BUFFER, 7*3*sizeof(GLfloat), NULL, GL_STATIC_DRAW);
    	// Load the vertex points
    	glBufferSubData(GL_ARRAY_BUFFER, 0, 3*3*sizeof(GLfloat), vertices); 
    	// Load the colors right after that
    	glBufferSubData(GL_ARRAY_BUFFER, 3*3*sizeof(GLfloat),3*4*sizeof(GLfloat), colors);
    	// Find the position of the variables in the shader
    	positionID = glGetAttribLocation(shaderProgramID, "s_vPosition");
    	colorID = glGetAttribLocation(shaderProgramID, "s_vColor");
    	glVertexAttribPointer(positionID, 3, GL_FLOAT, GL_FALSE, 0, 0);
    	glVertexAttribPointer(colorID, 3, GL_FLOAT, GL_FALSE, 0, 0);
    	glDrawArrays(GL_TRIANGLES, 0, 3);

    Main points of confusion being the vertex variables as I couldn't find what I was looking for in the vertex shader code, seems the variables are T, B, N, nextFrameData and nextFrameNormal but not sure what they are, could anyone help me correct this in to something that would run in polymer.cpp and draw the triangle to the screen?

  3. How to add a new lib into EDUKE32?

    19 September 2017 - 01:27 AM

    Hi guys,

    I am trying to add new libs into eduke, I set the include directory and lib directory in the settings. This gives a linker error, normally in VS2017 I would go to linker->general and linker->input and set the values there too but this is missing in eduke I am guessing because its using a make file?

    How can I add these in?
  4. Devs: I am looking to add vr support to duke3d!

    13 September 2017 - 09:51 AM

    Hi guys,

    I am familiar with coding open vr in c++ into open gl games and would love to give duke3d a try.

    Could anyone give me a brief overview on how eduke32 is handling rendering and which files are responsible so I have somewhere to start? Just looking for a bit of a roadmap on how everything is working currently so I don't have to spend days figuring everything out :)

    Thanks alot


nerozero hasn't added any friends yet.


nerozero has no profile comments yet. Why not say hello?

All copyrights and trademarks are property of their respective owners. Instead of reading this text, you could be playing Ion Maiden! ;) © 2018 Voidpoint, LLC

Enter your sign in name and password

Sign in options