Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


uwi2k2

Member Since 13 Aug 2011
Offline Last Active Today, 02:25 AM

Posts I've Made

In Topic: Help Rendering Multiple Geometry with WebGL

Yesterday, 01:32 PM

hi,

 

still its not enough info. but 2 ideas:

 

1. it is a js problem as you always may have the same reference to one object ... chck by outputting to console if in the 2 mesh array you really see diffrent vertex data.

 

2. in your render loop you are not setting the attrib pointer to the vbo correctly .. or not resetting at all ... it must be like
    - bind vbo 1
    - set attrib pointers
    - draw nr 1

    ----------------
    - bind vbo 2
    - set attrib pointers
    - draw nr 2

you may add more / real code for better help

 

cu

uwi2k2


In Topic: Octree and BSP in Action ... but how

21 April 2013 - 04:54 AM

hi,

thanx a lot.
that gave me the right hint to go in.

kai

In Topic: Positional Light and need to have fall off infinite?

05 August 2012 - 01:41 AM

hi,

i´m not shure if i get you right, but turning off the depth testing should help you here.
Or if you are calculating the vertex/light distance in the shader yourself, this one need to be tuned of.

cu
uwi

In Topic: Overlapping faces issue - Samsung tab

02 August 2012 - 01:29 AM

hi,

pls give a screen how it should look like ... to get a better impression what may be the problem.

cu
uwi2k2

In Topic: Draw objects in real time

02 August 2012 - 01:26 AM

hi,

first of all make sure you are not reciving data by TCP/IP... as this may be to slow for real time Game.
Use UDP instead.
But the basic setting is right. the Network Thread should write to a Object or what ever is your data container.
And than inside your glutDisplayFunc() you just draw as you would always do ...
You may track how many times per second you update the data from network .... as this needs to be close to your framerate .

cu
uwi2k2

PARTNERS