Search found 19 matches

by energy
Thu Jan 08, 2009 12:21 pm
Forum: Coding Questions
Topic: Autoscaling a grafic from non n² to n²
Replies: 2
Views: 931

Thanx for yur answer...
i thought that there is a automaticscale to POT,
but now im following to search the nearest POT
and rescale the picture...
cheers and thanx
by energy
Mon Jan 05, 2009 11:00 am
Forum: Coding Questions
Topic: Autoscaling a grafic from non n² to n²
Replies: 2
Views: 931

Autoscaling a grafic from non n² to n²

Hello!
does anyone know an api or gdi+ function to
autoscale images from non power of two to power of two
to automaticly resizing images for opengl if the image is non power of two?
cheers and thanx...
:D
by energy
Sat Sep 13, 2008 8:31 am
Forum: Applications - Feedback and Discussion
Topic: coffIT - create obj and lib static libraries from PB source!
Replies: 52
Views: 22019

srod...
its not working for me.
Im using PB4.2 Final and yur latest Coffit...
Send yu PM with whole code!
cheers eNerGy
by energy
Fri Sep 12, 2008 6:00 pm
Forum: Applications - Feedback and Discussion
Topic: coffIT - create obj and lib static libraries from PB source!
Replies: 52
Views: 22019

CoffiT reported:
Illegal Intsruction in the following Procedure:
Anyone knows why?
Thnax in forward...


Procedure UpdateSampleDelta(nexttime.l, time.l, usecs.l, td2.l, *smplrem.Long, *smpldelta.Long)
; performs 64bit (nexttime-time)*usecs/td2 And a 32.32bit addition To smpldelta:smplrem
!MOV ...
by energy
Tue Jun 10, 2008 12:05 pm
Forum: Announcement
Topic: BASS audio library v2.4 PureBasic 4.20 includes.
Replies: 35
Views: 49834

Hi!
Thanx for yur work...

But theres an error in new Version:

Handle=BASS_StreamCreateFile(0, @FileName, 0, 0, 0)

"@FileName" ... String is requiered, no Pointer...
by energy
Thu Mar 27, 2008 3:20 pm
Forum: TailBite
Topic: [RESOLVED] Problem With Creating Userlib
Replies: 2
Views: 3616

yup that was it!
Thnax.... :D
by energy
Thu Mar 27, 2008 1:54 pm
Forum: TailBite
Topic: [RESOLVED] Problem With Creating Userlib
Replies: 2
Views: 3616

[RESOLVED] Problem With Creating Userlib

Hi!
I got a problem with wrapping a Static Lib to Userlib:
Tailbite 1.3 PR 1.870 tells me:
Polib:
POLIB: FATAL ERROR: File not found:'Functions\TB_Imported_lib_0.lib
die pipe wurde beendet!
Never had such a problem!
PB Version is 4.2!

anybody any idea?? :(
Thanx....
by energy
Thu Mar 20, 2008 12:01 pm
Forum: Coding Questions
Topic: Problem with Catchimage and API
Replies: 2
Views: 1059

Thanx!!!
That was it!! :D
by energy
Thu Mar 20, 2008 9:55 am
Forum: Coding Questions
Topic: Problem with Catchimage and API
Replies: 2
Views: 1059

Problem with Catchimage and API

Hi!
Have a problem with catchimage(). if i use #PB_ANY
i cant use that handle for CreatePatternBrush_().
if i use a number for catchimage it works.
anybody an idea??
Thanks


pImage.l
brush.l

pImage=CatchImage(1,?logo) ;- Image with number
brush.l=CreatePatternBrush_(pImage)
Debug pImage ...
by energy
Wed Mar 05, 2008 6:32 pm
Forum: Announcement
Topic: for OPENGL: 1K Texturloader(.png, .bmp, .tga,.jpg ...)
Replies: 4
Views: 2452

for OPENGL: 1K Texturloader(.png, .bmp, .tga,.jpg ...)

Hi!
This time 2 OPENGL Purebasic-Userlibs from our current OPENGL Lib:

- a 1k Texturloader that loads (.png, .bmp, .dds, .dib, .hdr, .jpg, .pfm, .ppm .tga)
(idea and c-source by Jim Shaw, modified code for PB by dextro/energy - dAWN)

- a 2k OpenGL MiniScreenLIB (Fullscreen) by dextro/energy ...
by energy
Sat Dec 22, 2007 11:36 am
Forum: Coding Questions
Topic: clipsprite() function for Opengl
Replies: 0
Views: 639

clipsprite() function for Opengl

Hi....
has anybody an idea to realize a funktion like
Clipsprite() for OPENGL?

Thanks in advance....
energy
by energy
Sun Nov 11, 2007 3:03 pm
Forum: Coding Questions
Topic: Problem with static lib!
Replies: 3
Views: 1246

Problem with static lib!

Hi!
I ve a problem with a static lib which uses internal
a function called "_strnicmp" (unresolved external)

Does anyone know which lib i have to include to resume this?
I tried msvcrt, libcmt....

Thank yu very much!
by energy
Thu Oct 25, 2007 7:20 pm
Forum: Coding Questions
Topic: Sprite3Real Userlib-Problem
Replies: 0
Views: 967

Sprite3Real Userlib-Problem

Hi!

Got a Problem with this lib from Stefan Moebius...
The Meshes(s3dr) will be shown really crazy....
the Orginal examples too on 4 different PCs.

http://www.glftpdsitemanager.com/download/pure/SpritePOT.JPG

Does anyone know more about hthis Problem?

Used: PB4.1 beta 4 & Direct X9
Problem is ...
by energy
Sun Oct 21, 2007 4:46 pm
Forum: Announcement
Topic: Sprite3DReal Userlibrary
Replies: 118
Views: 40894


Dextro:
Did anybody tried the examples related to the .x or .s3dr files on PB v4.02 ?

I'm not able to run any example that uses S3DR_LoadMesh with directX9.0c

All the objects are corrupted.


Hi Stefan!

Same problem .
the converted x files looks really ugly.
Can yu help please....
Yur lib is ...
by energy
Sun Oct 14, 2007 4:14 pm
Forum: Announcement
Topic: Simple Windowed OpenGL Framework - for OpenGL beginners
Replies: 43
Views: 38185

Great work.....
For me absolutly great stuff for trying to do OPENGL
Go on, i like yur Demo
Thanks

Cheers
eNeRGy