You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#26 2014-02-06 07:57:43

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,169

Re: some advice

software renderer doesn't have an exact definition, but it always means render by cpu. there is no GPU assistance.

Offline

#27 2014-02-06 09:07:07

findpkq
Member
Registered: 2012-11-24
Posts: 79

Re: some advice

so the difference is only caused by code or algorithm?
thanks a lot

Offline

#28 2014-02-06 19:47:40

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,169

Re: some advice

What difference? the difference in performance? the nds 3d hardware is puny compared to a gamecube or ps2. so emulating it is that much faster. plus, nocash writes all his code in assembly, so its twice as fast as it ought to be.

Offline

#29 2014-02-07 07:42:08

DaMan
Member
Registered: 2011-01-01
Posts: 59

Re: some advice

PS2's software renderer can get full speed, but Gabest is one my short list of programming god's.  AVX2 is suppose to allow mortals to obtain that speed, but the gather instruction is bit slow on Haswell.

Offline

#30 2014-02-08 16:57:53

findpkq
Member
Registered: 2012-11-24
Posts: 79

Re: some advice

well,thank you for your answer:) 

faq says
   SoftRasterizer has a maximum limit of 32 threads it can use for processing 3D graphics.

so does SoftRasterizer use more than one core for processing 2D graphics?

Offline

#31 2014-02-08 18:41:09

rogerman
Member
Registered: 2011-06-04
Posts: 380

Re: some advice

findpkq wrote:

so does SoftRasterizer use more than one core for processing 2D graphics?

This question is wrong, so I'll try answering it with two statements.

Yes, SoftRasterizer uses more than one core for processing 3D graphics.
However, SoftRasterizer does not process 2D graphics.

Offline

#32 2014-02-09 05:16:19

findpkq
Member
Registered: 2012-11-24
Posts: 79

Re: some advice

so that's why SoftRasterizer appear in 3d settings,thanks a lot

well,that means there's no different in 2d whether i use SoftRasterizer or opengl?

Agg2d?

so does 2d engine and sound engine use more than one core?  or tasks will assigned to cores automatically?

i test metalslug7 and i use task manager to limit desmume use only one cpu core,but the speed doesn't slow down a lot(not like 3d games),and the fps is still instable

i know it's no proper to take for granted that 2d should faster than 3d,but in some situation,it still slower than i imagine,though 2d engine seems get a speed up in desmume 0.9.7   
maybe it is only caused by games.

at least the newest version of agg2d is 2.5, not 1.0
but i don't know what it has actually changed

sorry for my selflish complaint:(

Offline

#33 2014-02-09 05:37:08

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,169

Re: some advice

theres no difference in 2d whether you use softrasterizer or opengl. thats why its in the 3d settings.

metal slug is using the 3d engine. you wouldve known this, if you had turned off the 3d rendering and checked whether the g raphics appeared.

agg2d isnt used for emulation, its only used for the input display, etc.

Offline

#34 2014-02-14 18:19:21

findpkq
Member
Registered: 2012-11-24
Posts: 79

Re: some advice

thank you for correcting my fault:) 
well,i hope to find some reasons which make desmume can't fast enough except 3d engine
but it seems that 3d engine still cause the slow speed mainly

it's interesting that a great number of '2d' games still use 3d engine:) 

i know desmume is  a free open source project and you don't have enough programmers
so i should not complain about anything,thank you for your efforts for several years

i'll not trouble you in months smile

oooops,please don't forget the button to unlock unlock the minimum window size tongue   

best wishes

Last edited by findpkq (2014-02-14 18:19:42)

Offline

Board footer

Powered by FluxBB