Search found 132 matches

by Philippe-felixer76-2
Tue Aug 30, 2011 10:49 am
Forum: Coding Questions
Topic: 3D Animated Mesh
Replies: 4
Views: 1604

Re: 3D Animated Mesh

Hmm yes, that is weird. I have made an animated model myself a few days ago and it worked quite well. I noticed that my model has quaternion movement and yours have euler movements. Maybe that's the problem.

Your right, tnx!

Quaternion rotations work a lot better.. but still not as good as in ...
by Philippe-felixer76-2
Tue Aug 30, 2011 9:32 am
Forum: Coding Questions
Topic: 3D Animated Mesh
Replies: 4
Views: 1604

Re: 3D Animated Mesh

And another question, how do i get more/different animations into one mesh object, just like some PB example meshes?
With the NLA editor like described in the exporter plugin's wiki: http://code.google.com/p/blender2ogre/wiki/AnimationExport
The names inside the NLA editor are used for the ...
by Philippe-felixer76-2
Tue Aug 30, 2011 7:22 am
Forum: Coding Questions
Topic: 3D Animated Mesh
Replies: 4
Views: 1604

3D Animated Mesh

Hi, can someone please explain what i am doing wrong.

I have a blend file for blender 3D, a animated mesh, using a skeleton, just some example file i found online.

Then i use blender 2.5, load the file, animate a bit and then i export it to a ogre mesh and skeleton XML file.
WIth the OGRE exporter ...
by Philippe-felixer76-2
Thu Dec 31, 2009 7:13 pm
Forum: Windows
Topic: Video Player based on VLC
Replies: 84
Views: 54333

Re: Video Player based on VLC

The debug log states a linker error: libvlc.lib not found.
that means that you don't have the file the linker needs to link to the dll.
it does NOT come with the vlc installer; you have to find it somewhere or build it yourself.

there is a comment in one of the sources on the first page!
;"C ...
by Philippe-felixer76-2
Thu Dec 31, 2009 12:31 am
Forum: Windows
Topic: Video Player based on VLC
Replies: 84
Views: 54333

Re: Video Player based on VLC

> downloaded the Win32 version of the VideoLAN VLC media player and installed it. I tried compiling both of the PB VLC (Alpha
> 6) examples posted here using PB 4.40 without success. I'm I doing something wrong or is the code broken with PB 4.40?
> The debug log states a linker error: libvlc.lib not ...
by Philippe-felixer76-2
Thu Dec 24, 2009 5:11 pm
Forum: General Discussion
Topic: ffmpeg / libavcodec
Replies: 52
Views: 35192

Re: ffmpeg / libavcodec

With the libavcodec and libavformat you should be able to convert video's also.
But you could also try to use videoLan, wich also has external library's.
There's a thread somewhere on the forum about this.
by Philippe-felixer76-2
Mon May 04, 2009 6:06 am
Forum: General Discussion
Topic: ffmpeg / libavcodec
Replies: 52
Views: 35192

thyphoon wrote:Some news about this project ?

the link to download "http://members.chello.nl/p.calsteren/avbin.zip" is broken !
Added it again ..
by Philippe-felixer76-2
Tue Mar 17, 2009 5:39 pm
Forum: Coding Questions
Topic: <Picture To Html code> Colors seem wrong..
Replies: 11
Views: 2646

I thought I would post this here (instead of the thread by Kale).

@Phillippe-felixer76-2: Your code was very slow and included a few errors. One of the errors was the subject of this thread, another was that the pictures width and height were not used correctly in the loops inside pic2htm().

Here ...
by Philippe-felixer76-2
Sat Mar 14, 2009 9:41 pm
Forum: Tricks 'n' Tips
Topic: Convert an image to a coloured HTML table...
Replies: 20
Views: 11189

Another way ..

A bit faster not using Point()??!

; maak van plaatje een website..
; test

#title = "HTML TEST: Picture to Html color code, P.v.C. 2009"
#width = 640
#height = 180
UseJPEGImageDecoder()
UsePNGImageDecoder()
Global zoom.b=1

Procedure say(in.s)
MessageRequester(#title, in.s)
EndProcedure ...
by Philippe-felixer76-2
Sat Mar 14, 2009 9:28 pm
Forum: Coding Questions
Topic: <Picture To Html code> Colors seem wrong..
Replies: 11
Views: 2646

Kale wrote:I should sue for IP rights! :lol:

You may find this helpful:

http://www.purebasic.fr/english/viewtopic.php?t=21890
Oops sorry man, i totaly didn't know, it was just a mindwave i had to explore.. :(
by Philippe-felixer76-2
Sat Mar 14, 2009 2:25 pm
Forum: Coding Questions
Topic: <Picture To Html code> Colors seem wrong..
Replies: 11
Views: 2646

In case the value of a specific color component is less than $10 you need to put a zero in front of the value when converting to ASCII.
Consider the following; the color is $0f0f0f i.e. some light shade of gray, when converting using your routine you will get the following '#FFF' which is some ...
by Philippe-felixer76-2
Sat Mar 14, 2009 1:58 pm
Forum: Coding Questions
Topic: <Picture To Html code> Colors seem wrong..
Replies: 11
Views: 2646

before I dig deep into your code:
did you watch the channel order?

PureBasic uses RGB 24bit color notation, that means, the RED is first in memory.
according to that, when you write it as a 24bit HEX number the BLUE is first in the notation.
you write it $BBGGRR but it is still RGB, because the ...
by Philippe-felixer76-2
Sat Mar 14, 2009 12:16 pm
Forum: Coding Questions
Topic: <Picture To Html code> Colors seem wrong..
Replies: 11
Views: 2646

<Picture To Html code> Colors seem wrong..

Hi there,

Just made a prog that tries to convert a picture to html page,
it works but very very slow and some colors are wrong with most
pictures i tried.

Code:

#title = "HTML TEST: Picture to Html"
#width = 640
#height = 140

UseJPEGImageDecoder()
UsePNGImageDecoder()

Procedure say(in.s ...
by Philippe-felixer76-2
Mon Feb 23, 2009 9:27 pm
Forum: Coding Questions
Topic: Window handle from process handle?
Replies: 24
Views: 12707

SeregaZ wrote:are you sure this code with find part name working? and support them another language - example russion? :))))
on my PC is not working. find only if you put in parametr full name
aaaand not working if you put part name with space.
Ehh.. no .. not sure.. ;-)
by Philippe-felixer76-2
Sun Feb 01, 2009 4:37 pm
Forum: Linux
Topic: 4.30 Drawing to screen or sprite with opengl subsystem
Replies: 9
Views: 5200

Here is the best solution ever:

http://www.purebasic.fr/english/viewtopic.php?p=248854#248854

:lol:

I could also try to make it possible to draw directly on the screen. But it would also result in a code like this.

[EDIT]
Just noticed, that this code doesn't work right anymore. But it worked ...