Software Archive
Read-only legacy content
17061 Discussions

3D engine

Anonymous
Not applicable
551 Views

Hello there,

ok, here we go, I have a dream, make a 3D engine 100% assembler intel only with CPU, I use rotation matrix only for now.


it works of course, but it's slow when I put a lot of pixels.

Recently I decided to include voxels in my engine, and it's slow when I put> = 8000 voxels (20 * 20 * 20 cube) and when I saw that nvidia display 32M voxels (fire) I wonder how they can do it !


And I have a little idea of  the reason: MMU, paging, segmentation. memory.
Am I right?


Another question, is the FPU is the slowest to compute floating point  and SSE is the powerfull ?


PS: I work without OS like Windows or Linux, I run on my own kernel + bootloader in assembly too with NASM.

Sry if i don't wirte a good english, i'm french and use google translate ^-^

0 Kudos
2 Replies
Anonymous
Not applicable
551 Views

And i use a pointer  on VESA LFB for draw pixel.

Another question, i don't think understand what is the gpu into cpu intel core, i have this processor: http://ark.intel.com/products/53464/intel-core-i7-2640m-processor-4m-cache-up-to-3_50-ghz.

And have AMD Radeon HD 6470M like graphics card, so can i theoricaly switch gpu ? if yes how do it ^-^.
Cuz i can't do it throung software: Windows Xp :(

Finnaly i want talk about mutlitasking method, i know modern OS use pagination memory for do it, but honnestly i hate this fragmentation of memory (RAM), so can i use my 2nd processor like a selector of code.

I mean this 2nd processor can have a personal memory who is fill by physical address of my program/task into RAM ? and every each sec for exemple, this 2nd processor jump to the next taks's address, and for execute it, he tell to main processor to jump in the address.

I know, if it's possible i would need a personal memory into RAM, so i will delimit at ADDR_TASK_END and ADDR_TASK_START like "segmentation" do it, but i think is more understandable and easier to learn multitasking and don't use "powerful" segmentation ^-^

What do you think, is it possible ?

0 Kudos
Harold_G_Intel
Employee
551 Views

Hello,

You may want to post this question to the forum "Developing Software for Visual Computing":  https://software.intel.com/en-us/forums/developing-software-for-visual-computing

Regards, Hal G
Intel(R) Developer Zone Support

http://software.intel.com
*Other names and brands may be claimed as the property of others.

 

0 Kudos
Reply