## Search found 451 matches

Oct 07, 2016 17:54
Forum: Beginners
Topic: 3D rotation attempt +rasterization
Replies: 55
Views: 3714

### Re: 3D rotation attempt +rasterization

it seems random to me. some faces are rendering correctly others are not. so if I were to flip all the faces fronts it would look equally bad. You make it sound as if there is a way to make the program do it with out being told.
Oct 07, 2016 17:43
Forum: Beginners
Topic: 3D rotation attempt +rasterization
Replies: 55
Views: 3714

### Re: 3D rotation attempt +rasterization

I'm afraid the only answer I've come up with is that it doesn't know and I have to tell it. Maybe create a normals system.
Oct 07, 2016 17:33
Forum: Beginners
Topic: 3D rotation attempt +rasterization
Replies: 55
Views: 3714

### Re: 3D rotation attempt +rasterization

Ive left you with a bit of a puzzle to solve somewhere else though. Well I'm supposing the "bit of a puzzle" is how to specify which side of a face is the back. The culling works but the cube seems strange because of different sides showing. When it comes to solving it though nothing I've...
Oct 07, 2016 14:26
Forum: Beginners
Topic: 3D rotation attempt +rasterization
Replies: 55
Views: 3714

### Re: 3D rotation attempt +rasterization

Just take one of the points, say point 1 and get the two 2D vectors (from the screen coords) from that point to the other two points, then calculate the z component of the cross product of those two vectors, the sign of the rrsult tells you if it's back or front facing. I didn't fully understand wh...
Oct 06, 2016 18:06
Forum: Beginners
Topic: 3D rotation attempt +rasterization
Replies: 55
Views: 3714

### Re: 3D rotation attempt +rasterization

Before I can do backface culling will I have to Implement a face Normals system?
Oct 06, 2016 17:20
Forum: Beginners
Topic: 3D rotation attempt +rasterization
Replies: 55
Views: 3714

### Re: 3D rotation attempt +rasterization

that worked! down to zbuffering. I don't remember where I found the crossproduct formula but most likely it was correct and I just read it wrong. the cube was sloppy because I just wipped it up so I could test the rasterization. Thanks for cleaning it. also I was wondering why this method is soppose...
Oct 06, 2016 16:34
Forum: Beginners
Topic: 3D rotation attempt +rasterization
Replies: 55
Views: 3714

### Re: 3D rotation attempt +rasterization

getting closer. still some problems though.I'm using the Standard Algorithm now because its supposed to be faster and it does not use crossproduct. type point3d x as single y as single z as single declare sub draw end type type face3d red as integer green as integer blue as integer point1 as point3d...
Oct 06, 2016 15:09
Forum: Beginners
Topic: 3D rotation attempt +rasterization
Replies: 55
Views: 3714

### Re: 3D rotation attempt

Thank you. It works now! Now I tried adding Rasterization. And again my program is acting quirky. I tried using IV. Barycentric Algorithm from this tut http://www.sunshine2k.de/coding/java/TriangleRasterization/TriangleRasterization.html it uses an operator crossproduct which I looked up and tried t...
Oct 05, 2016 19:46
Forum: Beginners
Topic: 3D rotation attempt +rasterization
Replies: 55
Views: 3714

### 3D rotation attempt +rasterization

My rotation code here seems that it almost works except that it zooms the cube out automatically. If someone could point out what I'm doing wrong I'd be much obliged. Also my code does not allow me to specify the center of rotation and I haven't the slightest clue how to do that. type point3d x as s...
Feb 07, 2016 19:18
Forum: Community Discussion
Topic: WHO managed to take the WEB-Site down?
Replies: 79
Views: 10088

### Re: WHO managed to take the WEB-Site down?

ok
Feb 07, 2016 1:59
Forum: Community Discussion
Topic: WHO managed to take the WEB-Site down?
Replies: 79
Views: 10088

### Re: WHO managed to take the WEB-Site down?

Is there any other way to access the Back2Basic website. There are some tutorials on there that have been invaluable. It's hard for me to accept that they are gone forever.
Dec 04, 2015 19:00
Forum: Beginners
Topic: Irrlicht wrapper
Replies: 4
Views: 1044

### Re: Irrlicht wrapper

Thanks.
Dec 03, 2015 22:13
Forum: Beginners
Topic: Irrlicht wrapper
Replies: 4
Views: 1044

### Irrlicht wrapper

I have the Irrlicht wrapper and I've been trying to make my own 3D game using it but I can not seem to find out how to use it. I've looked at the examples and learned a little but it's not enough is there anywhere I can learn how to move objects with keys and make characters be able to pick things u...
Sep 04, 2015 2:29
Forum: Windows
Topic: Can I use the windows fb to make dos .exe
Replies: 13
Views: 1903

### Re: Can I use the windows fb to make dos .exe

@caseih

I can not run fbc at all. Nothing will compile in dosbox withou cwsdpmi. with it, it gives me memory errors even on simple hello world programs.
Sep 03, 2015 23:20
Forum: Windows
Topic: Can I use the windows fb to make dos .exe
Replies: 13
Views: 1903

### Re: Can I use the windows fb to make dos .exe

@caseih

DosBox does not seem to work with csdpmi so I couldn't get it to compile.