VOGONS


First post, by RaVeN-05

User metadata
Rank Oldbie
Rank
Oldbie

I am trying to write null renderer as a start, and faced problem =)

there is lot of exports
in redline.dll starts "VL_..."
in verite.dll starts "V_..."

i can get all of them.

the problem is :
they accept some values and return them.

I can find returning types of values (using sdk)
i partially can find accept types
last of missing part is not in sdk and i should get it somewhere else.

for example :
there is
vl_error V_DLLIMPORT VL_RegisterErrorHandler(vl_error_handler peh)

"vl_error_handler" -is refers to "typedef vl_error_handler (V_DLLIMPORT *VL_GetErrorHandler_Type)(void);"

VL_GetErrorHandler_Type???? No where in SDK it defined.

more Re: Rendition Verite Thread

i think this is why i get crash on trying to start htri.exe (a first ever example , triangle , minimal redline api usage.)

i guess crash because mismatch data types.

on other side i do not sure if these samples still runable under win7 x64.
and maybe not my dll's is fault here.

https://www.youtube.com/user/whitemagicraven
https://go.twitch.tv/whitemagicraventv

Reply 1 of 5, by RaVeN-05

User metadata
Rank Oldbie
Rank
Oldbie

once again bump, i even tried to run this dll on my old retro pc with rendition verite card on board.

This error seems not related to old/new windows or other compatibility.

The verite's redline.dll and verite.dll in pair works somehow in callback? its expecting some data back from renderer? i don't know i just guess.

Be common situations like glide, direct3d, opengl -> they just throw data to these dll and didn't expect data to be return, that makes Wrappers possible.

I just wrote simple dll assuming it will be null renderer, but even this fails.

Look attachments, one in zip is def file for exports.

Can someone help me to reach null renderer on htri1.exe example, so sdk example will just run with null renderer?

Attachments

  • Filename
    redline.zip
    File size
    316 Bytes
    Downloads
    55 downloads
    File license
    Public domain
  • Filename
    redline.cpp
    File size
    2.41 KiB
    Downloads
    56 downloads
    File license
    Public domain

https://www.youtube.com/user/whitemagicraven
https://go.twitch.tv/whitemagicraventv

Reply 2 of 5, by M-HT

User metadata
Rank Newbie
Rank
Newbie
RaVeN-05 wrote on 2022-10-08, 19:19:
for example : there is vl_error V_DLLIMPORT VL_RegisterErrorHandler(vl_error_handler peh) […]
Show full quote

for example :
there is
vl_error V_DLLIMPORT VL_RegisterErrorHandler(vl_error_handler peh)

"vl_error_handler" -is refers to "typedef vl_error_handler (V_DLLIMPORT *VL_GetErrorHandler_Type)(void);"

VL_GetErrorHandler_Type???? No where in SDK it defined.

"typedef vl_error_handler (V_DLLIMPORT *VL_GetErrorHandler_Type)(void);" is not a definition of vl_error_handler, it's a definition of VL_GetErrorHandler_Type which is a pointer to a function which returns vl_error_handler.

vl_error_handler is defined in file redline.h as:
typedef void (V_CDECL *vl_error_handler)(v_handle vhandle, vl_routine routine, vl_error err, int exterr);

It's also defined/explained in the reference manual (...SDK\RRedline\Docs\ref.doc) on page 136.

Reply 3 of 5, by RaVeN-05

User metadata
Rank Oldbie
Rank
Oldbie

Thanks
Seems i had wrong at starting, that lack of knowledge and too many errors.

Attachments

  • Filename
    wrappers.7z
    File size
    1.35 KiB
    Downloads
    53 downloads
    File license
    Public domain

https://www.youtube.com/user/whitemagicraven
https://go.twitch.tv/whitemagicraventv

Reply 4 of 5, by BEEN_Nath_58

User metadata
Rank l33t
Rank
l33t

I haven't downloaded it yet but I wish you success for it. Rendition is one of the cards for which I always wanted to see a wrapper, albeit having a very small application base.

When I try, is there any particular app that should run?

previously known as Discrete_BOB_058