View Full Version : How can i use H/W Accelerator ?
07-21-2004, 10:49 PM
In my underatanding, Vicents has a special routine which designed to use JIT Accelerator in ARM Platform.
but, In my case, After finnishing FB Device Driver, i am gonna extend this sources to use H/W accelerator like ATI Rage pro which have 3D accelerator register.
then, i wanna know that FunctionCache is only that part to extend a function like Vertex relevent function or scanline function.
if i make New function cache, the New function cache will be blonged under Raterlizer part, doesn't it ?
07-22-2004, 05:39 AM
I would even consider to replace the whole implementation of the Rasterizer class. This class currently receives transformed and lit primitives as input.
If your hardware covers even more (i.e. it supports arrays and buffers and does transformation and lightning as well), then you might equally start from scratch.
07-25-2004, 08:18 PM
I have migrated your sources on ARGB8 bit Platform successfully. thanks for your comments.
If you re-design the Rasterizer to support H/W accelerator well, when can you finish the adaptation, if you need much time, i have to modify the Rasterizer or ContextRender to use H/W Accelerator.
In my understanding ConetextRender Class is top of Drawing Operation.
SeongNam. :) :) :)
07-25-2004, 09:02 PM
The Rasterizer class more or less abstracts a "virtual graphics chip". So, in order to hook up your hardware rasterizer, you'd simply delete the current content of Rasterizer.cpp and replace it by whatever is needed to map the Set.., Prepare.. Raster... and Finish... calls onto your hardware. Of course, you only have to recreate the public interface.
07-26-2004, 09:58 PM
I have tested all of rebook sample code in my platform. but i have some problem. espacially, Light relevent action is not working.
- alpha3d, light, scen is not showing.
- movelight display only centering qubic.
- colormat doesn't have gray level
- fog dosen't have 3 dimension, i show only differenct gray color
- material have have lightening effect, but it has some red scratched line in ball.
- mipmap display only yellow triangle.
- polyoff display only un-continues polygon lines.
i need your helf to solve this problem.
because material is working, light function is working. somthings are not working.
eventually, sphere function is not working except material.
the others are working well and i fixed foregroud color and background color problem.
in my understanding, lightening or 3 dimensional effect is also color relevent problem ?
SeongNam. :confused: :confused: :confused:
07-27-2004, 04:24 AM
Can you send me those samples? The code as printed in the book needs quite some adjustment to work properly on ES.
Did you create an equivalent of GLUT?
PS: Please use the Support Request Page (http://sourceforge.net/tracker/?func=add&group_id=87506&atid=583373) on the project homepage for any further support request. There is a place where you can upload attachments like code fragments or images. Thx.
[ July 27, 2004: Message edited by: Hans-Martin Will ]
07-28-2004, 06:49 PM
Now, i have loaded full source code and smaple code on sourceforge website.
please check whether sample code have some problem or core engine have some problem.
if you have linux machine, change lilo.conf file to support VGA 1024x768 resolution.
just Adding "vga=792" is enough for that.
and type "lilo" on prompt with administrator priority.
if you have successful changing, you can see a small penguin on left-top screen in booting time.
07-28-2004, 07:24 PM
I have used RedBook Sample sources in GLESonGL project.
I thought that the sample sources can be run on your engine. because GLESonGL is a reference to make new Engine.
SeongNam. ;) ;) ;)
07-30-2004, 04:13 PM
http://mesa3d.sourceforge.net/ has full, open source code for ATI Rage/128/Radeon acceleration. mesa may be too large for your application since it is a full OpenGL implementation but it should provide you with plenty of sample code.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.