[0.2.1] LDForge


Re: [0.2.1] LDForge
#77
Roland Melkert Wrote:Are you sure the correct data is send to vbo?
Yes, I've ensured this with debug printing.

Roland Melkert Wrote:You seem to do a lot of data copying, why not store the obj data in glFloat vectors to start with so you can send it 1 on 1 to vbo.
I want to avoid overhead that would result from compiling the entire part model each time something changes, instead having a vector for each object and then merging to create the resulting vector for the vbo.

Perhaps some pointer-and-size stuff could be used to eliminate the data copying but right now my first priority is to get a brick on the screen. Smile

Roland Melkert Wrote:Are all the gl calls returning OK (glGetError)?
hrm... I'm gonna have to check this.

Roland Melkert Wrote:I'm not completely sure bit it might be needed to enable the vbo clientstate for the initial data copy (it is in my code, but I'm not sure it's needed)
Enabling the clientstate for the buffering doesn't change anything.

Roland Melkert Wrote:Also I noticed you bind the buffer twice, once before and once after a command. That's not needed it's better to bind to id '0' when done with vbo (e.g after drawarrays)
Ah, the Wikipedia article Travis linked implied it was necessary.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
[0.2.1] LDForge - by Santeri Piippo - 2013-03-22, 18:48
Re: LDForge - by Roland Melkert - 2013-03-22, 20:20
Re: LDForge - by Santeri Piippo - 2013-05-22, 20:14
Re: LDForge - by Santeri Piippo - 2013-05-22, 20:16
Re: LDForge - by Philippe Hurbain - 2013-05-23, 7:41
Re: LDForge - by Michael Heidemann - 2013-03-22, 21:17
Re: LDForge - by Santeri Piippo - 2013-03-23, 22:56
Re: LDForge - by Tim Gould - 2013-03-23, 23:01
Re: LDForge - by Philippe Hurbain - 2013-03-24, 6:55
Re: LDForge - by Santeri Piippo - 2013-03-24, 23:15
Re: LDForge - by Michael Heidemann - 2013-03-25, 7:59
Re: LDForge - by Santeri Piippo - 2013-03-31, 15:20
Re: LDForge - by Michael Heidemann - 2013-03-31, 18:34
Re: LDForge - by Santeri Piippo - 2013-04-03, 10:35
Re: LDForge - by yugioh - 2013-04-03, 19:00
Re: LDForge - by Santeri Piippo - 2013-04-05, 12:07
Re: LDForge - by Santeri Piippo - 2013-04-16, 17:20
Re: LDForge - by Philippe Hurbain - 2013-04-16, 17:50
Re: LDForge - by Santeri Piippo - 2013-05-05, 13:16
Re: LDForge - by Michael Heidemann - 2013-05-05, 14:24
Re: LDForge - by Santeri Piippo - 2013-05-22, 13:17
Re: LDForge - by Philippe Hurbain - 2013-05-22, 14:25
Re: LDForge - by Magnus Forsberg - 2013-05-22, 15:52
Re: LDForge - by Santeri Piippo - 2013-05-22, 20:17
Re: LDForge - by Philippe Hurbain - 2013-05-23, 7:46
Re: LDForge - by Rolf Osterthun - 2013-05-23, 11:09
Re: LDForge - by Santeri Piippo - 2013-05-23, 13:39
Re: LDForge - by Santeri Piippo - 2013-05-23, 20:22
Re: LDForge - by Philippe Hurbain - 2013-05-23, 20:37
Re: LDForge - by Santeri Piippo - 2013-05-23, 20:50
Re: LDForge - by Magnus Forsberg - 2013-05-23, 22:40
Re: LDForge - by Philippe Hurbain - 2013-05-24, 13:13
Re: LDForge - by Santeri Piippo - 2013-05-24, 15:12
Re: LDForge - by Philippe Hurbain - 2013-05-24, 15:39
Re: LDForge - by Roland Melkert - 2013-05-24, 17:24
Re: LDForge - by Santeri Piippo - 2013-05-24, 19:19
Re: LDForge - by Santeri Piippo - 2013-06-14, 16:11
Re: LDForge - by Santeri Piippo - 2013-06-15, 22:31
Re: LDForge - by Fyodor Kolov - 2013-08-06, 10:33
Re: LDForge - by Santeri Piippo - 2013-08-16, 21:55
Re: [0.1 Alpha] LDForge - by Santeri Piippo - 2013-07-05, 22:32
Re: [0.1 Alpha] LDForge - by Philippe Hurbain - 2013-07-10, 15:45
Re: [0.2 Alpha] LDForge - by Santeri Piippo - 2013-07-09, 23:55
Re: [0.2 Alpha] LDForge - by Santeri Piippo - 2013-07-17, 13:26
Re: [0.2 Alpha] LDForge - by Santeri Piippo - 2013-08-03, 1:34
Re: [0.2 Alpha] LDForge - by Santeri Piippo - 2013-09-22, 20:11
Re: [0.2 Alpha] LDForge - by Philippe Hurbain - 2013-11-11, 13:14
Re: [0.2 Alpha] LDForge - by Santeri Piippo - 2013-12-19, 12:03
Re: [0.2 Alpha] LDForge - by Philippe Hurbain - 2013-12-19, 13:29
Re: [0.2 Alpha] LDForge - by Santeri Piippo - 2013-12-19, 14:14
Re: [0.2 Alpha] LDForge - by Santeri Piippo - 2013-10-16, 12:59
Re: [0.2 Alpha] LDForge - by Santeri Piippo - 2013-10-16, 16:26
Re: [0.2 Alpha] LDForge - by Santeri Piippo - 2013-10-16, 17:01
Re: [0.2 Alpha] LDForge - by Santeri Piippo - 2013-10-16, 19:08
Re: [0.2.1] LDForge - by Santeri Piippo - 2013-12-19, 13:27
Re: [0.2.1] LDForge - by Michael Heidemann - 2013-12-21, 7:40
Re: [0.2.1] LDForge - by Stan Isachenko - 2013-12-21, 17:41
Re: [0.2.1] LDForge - by Michael Heidemann - 2013-12-21, 19:50
Re: [0.2.1] LDForge - by Michael Heidemann - 2013-12-21, 20:00
Re: [0.2.1] LDForge - by Santeri Piippo - 2013-12-22, 14:01
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-01-22, 11:41
Re: [0.2.1] LDForge - by Roland Melkert - 2014-01-22, 17:16
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-01-22, 22:23
Re: [0.2.1] LDForge - by Tim Gould - 2014-01-22, 22:26
Re: [0.2.1] LDForge - by Roland Melkert - 2014-01-22, 22:42
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-01-23, 16:15
Re: [0.2.1] LDForge - by Travis Cobbs - 2014-01-23, 18:37
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-01-23, 20:44
Re: [0.2.1] LDForge - by Roland Melkert - 2014-01-23, 21:04
Re: [0.2.1] LDForge - by Travis Cobbs - 2014-01-23, 22:34
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-01-24, 16:30
Re: [0.2.1] LDForge - by Roland Melkert - 2014-01-24, 18:03
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-01-24, 18:45
Re: [0.2.1] LDForge - by Roland Melkert - 2014-01-24, 19:16
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-01-24, 19:24
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-01-24, 19:44
Re: [0.2.1] LDForge - by Roland Melkert - 2014-01-24, 19:50
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-01-24, 19:53
Re: [0.2.1] LDForge - by Roland Melkert - 2014-01-24, 19:54
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-01-24, 19:57
Re: [0.2.1] LDForge - by Roland Melkert - 2014-01-24, 20:03
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-01-24, 20:14
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-02-25, 14:20
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-01-24, 20:05
Re: [0.2.1] LDForge - by Roland Melkert - 2014-01-24, 19:52
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-02-25, 14:21
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-03-24, 18:17
Re: [0.2.1] LDForge - by Willy Tschager - 2014-03-31, 18:18
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-03-31, 18:37
Re: [0.2.1] LDForge - by Willy Tschager - 2014-03-31, 19:06
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-03-31, 19:24
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-04-17, 18:49
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-07-03, 18:06
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-07-29, 20:47
Re: [0.2.1] LDForge - by Philippe Hurbain - 2014-07-30, 13:34
Re: [0.2.1] LDForge - by Santeri Piippo - 2014-08-31, 17:33

Forum Jump:


Users browsing this thread: 7 Guest(s)