Search found 3014 matches

by Chema
Mon Sep 21, 2009 5:42 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

Man you are incredible. I like the screenshot a lot, indeed. Hard to recognize an Oric there. I think you'd be glad to read the above post, as I mention that there is no need to have so many controls for this version, so there is much more room for doing nice tricks :) However, I have some comments ...
by Chema
Mon Sep 21, 2009 1:09 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

Chema, i notice that the right line marking the right border of the play area is one away from the left edge of the byte. Is this intentional? I will assume (for now) it was not. However the idea of placing a single pixel wide black outline around the play area is a good one, since it isolates acti...
by Chema
Wed Sep 16, 2009 6:11 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

Dbug wrote:Have to say it looks positively better and better on each new batch of screenshots :)
Thanks!

BTW, did you notice the "extra pixel" bug in the line routine? Any clue?
by Chema
Wed Sep 16, 2009 5:01 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

That does look rather fab, and it all seems to be coming together. I wonder if the same graphic technique used in IM and Otype could be adapted to the score panel in Elite? Let me know if you want me to design something for you Chema?, i am still very busy with IM but i'm sure i can find some time ...
by Chema
Wed Sep 16, 2009 1:10 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

Ok, I noticed it has been a long time since the last screenshots, so here you are. Notice I am also playing with the coloured frame, now trying to see how a combination of colours at alternating scans could work in the radar display. However, I am somehow color-blind :? , so I will need some hints t...
by Chema
Tue Sep 15, 2009 7:48 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

Greetings. Some advance. I finished implementing the 1st technique above for backface culling. That is: using pre-calculated normals and rotating them. After that process, the dot product with the vector from the point-of-view with the object is calculated and the sign of the z-component decides whe...
by Chema
Fri Sep 11, 2009 9:33 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

Yeah, that might be the point where backface culling and drawing filled polygons converge (?). Actually that is a good idea. Another method to test... I also was thinking that most of the polygons are rather small. Usually their width or heigth is below 1/4th of the screen, so most of the times the ...
by Chema
Fri Sep 11, 2009 1:22 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

Greetings. Ok. I come here today with a request for a brainstorm :) After talking with Dbug in the chat yesterday, we thing that the best method to use is checking the vertex order using the cross product (basically the first method, but only getting the Z coordinate of the cross product). You need ...
by Chema
Thu Sep 10, 2009 9:58 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

New log. Nothing really new. Have been working on a more accurate ship control. In fact I just duplicated the tables and patched a routine so the ship you control now rotates in steps of 1 degree, but keeping the key pressed speeds up the rotation. Also added some kind of damping effect, so it looks...
by Chema
Wed Sep 09, 2009 8:50 am
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

That would be really a good idea, because one of the things that worries me most is that these routines only work for Microdisc. But I would need the saving routine, for the saved games :( However am I still at early stages, so no hurry. There is still a lot of work to do, and if I added the disk ac...
by Chema
Tue Sep 08, 2009 4:47 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

Twilighte wrote:What disk routines are you using?
The ones provided by Fabrice long time ago. I think they are posted in one of the 6502 threads. The current version I am using works only for Microdisc, but does not need any code in page 4.

Do you want me to send them to you?

Cheers
by Chema
Tue Sep 08, 2009 4:42 pm
Forum: C programming
Topic: OSDK and DOSBOX
Replies: 7
Views: 18107

Re: OSDK and DOSBOX

Dbug is the one who can help here, but could you please provide any error messages that may appear?

That would really help.
by Chema
Mon Sep 07, 2009 10:23 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

Update: Just activated overlay ram and put over 3.5K of tables at $c000. Everything is working. Added the pre-calculated normals also. The compiling process is fully automated and an auto-run disk is generated, as we already had for Space:1999. I plan to move more things to overlay, but have to dec...
by Chema
Mon Sep 07, 2009 1:07 pm
Forum: Games
Topic: Doing 3D games on the Oric ?
Replies: 434
Views: 403519

Just an update to state that I have added the IRQ routine with keyboard handling (as suggested in the other forum). This has speed up framerate significantly, appart from better ship control (simultaneous keypresses). The gain is 3 units of 1/100ths of second per frame, so when only empty space is t...
by Chema
Fri Sep 04, 2009 3:39 pm
Forum: Technical questions
Topic: Reading the Keyboard
Replies: 44
Views: 42858

May i see this amended code here? Sure... More optimizations welcome :) SenseKeyPrep .( sta via_porta lda #$fd sta via_pcr sty via_pcr lda via_portb and #%11111000 stx zpTemp02 ora zpTemp02 sta via_portb rts .) ReadKeyboard .( ;Write Column Register Number to PortA lda #$0E sta via_porta ;Tell AY t...