Search found 112 matches

by Jae686
Thu Aug 20, 2015 1:40 pm
Forum: Programming Discussion
Topic: Light appears to move with camera.
Replies: 13
Views: 2601

Re: Light appears to move with camera.

Good afternoon. I've been making some tests with this exporter (in order to single out my .obj importer bug's), and the issue still remains. The lighting issue can been seen even on the static mesh (light rotates with mesh?). The missing triangles are also an unexpected issue. 0IFiF3k7Jr4 For obviou...
by Jae686
Sun Apr 12, 2015 4:07 am
Forum: Programming Discussion
Topic: Light appears to move with camera.
Replies: 13
Views: 2601

Re: Light appears to move with camera.

Jae686- You never commented on my first reply. I mention you set the Specular term when you should be setting the Diffuse term of the light. Have you tried that yet? Good Morning PH3N0N. Indeed I had set the diffuse term of the light when you mentioned it. I've been running some tests and I'm begin...
by Jae686
Sun Apr 05, 2015 9:52 am
Forum: Programming Discussion
Topic: Light appears to move with camera.
Replies: 13
Views: 2601

Re: Light appears to move with camera.

I've been looking further into it, and, after performing some tests with a static camera and I have the same issues. The vertex normal vectors are normalized, and the light is declared and enabled before the call to gluLookAt. The cube also has hard edges along the edge of each face. I have also : g...
by Jae686
Fri Apr 03, 2015 5:40 pm
Forum: Programming Discussion
Topic: About GCC 4.8.x branch...
Replies: 6
Views: 1158

Re: About GCC 4.8.x branch...

I just use the default one. If it works, well.......
by Jae686
Sat Mar 21, 2015 2:41 pm
Forum: Programming Discussion
Topic: Dreamcast Lighting Engine With Bumpmapping
Replies: 14
Views: 2348

Re: Dreamcast Lighting Engine With Bumpmapping

Hi there. I'm trying to build it on KOS, but I get the following error : jaerder@jaerder-G750JS ~/development/code_to_study/dclightengine/test $ source ../../../Tools/dreamcast/environ.sh jaerder@jaerder-G750JS ~/development/code_to_study/dclightengine/test $ make rm -f Game/1ST_READ.bin rm -f Game/...
by Jae686
Sun Feb 22, 2015 8:27 am
Forum: Programming Discussion
Topic: Dreamcast Lighting Engine With Bumpmapping
Replies: 14
Views: 2348

Re: Dreamcast Lighting Engine With Bumpmapping

Hi there!

I will surely take a look!
by Jae686
Tue Feb 03, 2015 12:41 pm
Forum: Programming Discussion
Topic: Light appears to move with camera.
Replies: 13
Views: 2601

Re: Light appears to move with camera.

PH3NOM, any thoughts on the issue ?
by Jae686
Thu Jan 22, 2015 3:05 pm
Forum: Programming Discussion
Topic: Light appears to move with camera.
Replies: 13
Views: 2601

Re: Light appears to move with camera.

bogglez , how would I get the light position coords transformed under the current glLib ?
by Jae686
Wed Jan 21, 2015 3:37 pm
Forum: Programming Discussion
Topic: Light appears to move with camera.
Replies: 13
Views: 2601

Re: Light appears to move with camera.

Well, declaring the glLight before or after glLookat or the geometry declaration did not work. The only occasion were the light was fixed relative to the scene was only when I've declared the lights on initialization.

Any thoughts?
by Jae686
Wed Jan 14, 2015 3:59 pm
Forum: Programming Discussion
Topic: Measuring render time.
Replies: 6
Views: 937

Re: Measuring render time.

Sorry for dig up an old thread, but how I measure the render time on the new gl API ?

I believe that it was explained somewhere on this forum, but I'm unable to find this information.

Best Regards.
by Jae686
Wed Jan 14, 2015 2:14 pm
Forum: Programming Discussion
Topic: Light appears to move with camera.
Replies: 13
Views: 2601

Re: Light appears to move with camera.

Good evening. You mean like this : glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); // INIT LIGHTS glMatrixMode(GL_PROJECTION); glLoadMatrixf(projectionMatrix); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); glShadeModel(GL_SMOOTH); gluLookAt(c->start_pos.x, c->start_pos.y, c->start_pos.z, c->star...
by Jae686
Tue Jan 13, 2015 4:16 pm
Forum: Programming Discussion
Topic: Light appears to move with camera.
Replies: 13
Views: 2601

Light appears to move with camera.

Good Evening. I'm starting to implement lightning into my framework, but the light appears to move with the camera, despite the light having fixed coordinates. This results in very odd artifacts. Any ideas on what might be the issue? https://bitbucket.org/jae686/vidfdc/src/c9311d72c4fe351c097717a7a2...
by Jae686
Mon Dec 22, 2014 11:49 am
Forum: Programming Discussion
Topic: Issues compiling KOS
Replies: 4
Views: 757

Re: Issues compiling KOS

Thank you Bluecrab, the issue is now fixed.
by Jae686
Sun Dec 21, 2014 1:35 pm
Forum: Programming Discussion
Topic: Issues compiling KOS
Replies: 4
Views: 757

Issues compiling KOS

Good afternoon. I've pulled the latest version from KOS by : git fetch --all git reset --hard origin/master After make I get the following error : kos-cc -c banner.c -o banner.o In file included from banner.c:7:0: banner.h:2:1: warning: missing terminating " character [enabled by default] banne...
by Jae686
Fri Dec 19, 2014 5:35 pm
Forum: Programming Discussion
Topic: Open GL API Error Reporting
Replies: 50
Views: 8664

Re: Open GL API Error Reporting

I've added a expat installer script on the repo.

Give it a shoot. :D
by Jae686
Thu Dec 18, 2014 7:25 am
Forum: Programming Discussion
Topic: Open GL API Error Reporting
Replies: 50
Views: 8664

Re: Open GL API Error Reporting

Good morning. In regards to expat, I plan to have a installer script working on this holiday. Strange code there... Honestly, I am not quite sure that is really an improvement, creating and submitting a vertex array with that function setVertex2C2T for a simple quad consisting of 4 2D vertices. It a...
by Jae686
Fri Nov 14, 2014 7:38 am
Forum: Programming Discussion
Topic: KGL rendering limits?
Replies: 15
Views: 3754

Re: KGL rendering limits?

Ph3nom should be able to tell you about the limits, he benchmarked his new KGL implementation quite rigorously, there are benchmarks in the example folder of KOS and you can find threads about it on here. You can also improve the poly count a lot by calling glEnable/Disable GL_KOS_NEARZ_CLIPPING. Y...
by Jae686
Sat Nov 01, 2014 11:17 am
Forum: Programming Discussion
Topic: 8C07FE68 WARN Accumulation buffer not supported
Replies: 8
Views: 989

Re: 8C07FE68 WARN Accumulation buffer not supported

Good Afternoon.
Thank you for your replies.


After I did

Code: Select all

git checkout HEAD
and performed

Code: Select all

 make clean
and

Code: Select all

 make 
On KOS-BASE and KOS-PORTS/libgl, it compiled and worked fine.

Although now git pull states that I'm currently not on a branch.

Best Regards !
by Jae686
Fri Oct 31, 2014 4:33 pm
Forum: Programming Discussion
Topic: 8C07FE68 WARN Accumulation buffer not supported
Replies: 8
Views: 989

Re: 8C07FE68 WARN Accumulation buffer not supported

Reverting the KOS to

Code: Select all

git checkout a17ed9
Made it work fine again.
by Jae686
Fri Oct 31, 2014 2:31 pm
Forum: Programming Discussion
Topic: 8C07FE68 WARN Accumulation buffer not supported
Replies: 8
Views: 989

Re: 8C07FE68 WARN Accumulation buffer not supported

Seems to be caused by pvr_poly_cxt_t c; c.blend.src_enable = PVR_BLEND_ENABLE; But was it caused by the latest KOS commit ? Commenting out the glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); Does not change anything. The errors related to libgl......they were not there before. (and I do "ma...