Keskustelu aiheesta miru

1 view
Skip to first unread message

Studio Kirsikka

unread,
Mar 11, 2008, 2:03:02 PM3/11/08
to pyglet-users
Looks good. Sadly I can't install it...

What's wrong with me? http://pastebin.com/m123c06e6

Drew Smathers

unread,
Mar 12, 2008, 8:48:29 AM3/12/08
to pyglet...@googlegroups.com

Hey,

I think you might have an old version of setuptools. If you upgrade
setuptools and it still fails, there is also a dependency bundled
version of Miru:
http://miru.enterthefoo.com/releases/Miru-bundled-0.0.2.tar.gz. So
you can install these by hand:

cp -r zope <site-packages>
cp -r twisted <site-packages>

Where site-packages appears to be /usr/lib/python2.5/site-packages/ on
your system.

Regards,
--
\\\\\/\"/\\\\\\\\\\\
\\\\/ // //\/\\\\\\\
\\\/ \\// /\ \/\\\\
\\/ /\/ / /\/ /\ \\\
\/ / /\/ /\ /\\\ \\
/ /\\\ /\\\ \\\\\/\
\/\\\\\/\\\\\/\\\\\\
d.p.s

Studio Kirsikka

unread,
Aug 7, 2008, 10:23:54 AM8/7/08
to pyglet-users
I lost the tarball and your site is unreachable.

Can you email it, please? studiokirsikka (a} gmail..com

Studio Kirsikka

unread,
Aug 7, 2008, 2:03:26 PM8/7/08
to pyglet-users
Right. Whenever somebody tells something doesn't work, it suddenly
starts to work again.

Drew Smathers

unread,
Aug 7, 2008, 4:21:47 PM8/7/08
to pyglet...@googlegroups.com
Right,

My server has been down for weeks and finally got resolved. (Stay
away from vpsland.)

I'm glad to see you have some interest in miru, but please note I am
in the process of rewriting a LOT -- that's the beauty of not having
any users and a pre-alpha status ;) I had written the core bits of it
before pyglet 1.1's initial alpha release, and after learning more
about pyglet.graphics and seeing that some of what I was trying to
achieve (OpenGL driver state ordering, namely) was handled far better
inside of pyglet. Hopefully I will have time to brush some stuff up
and update documentation (maybe even make another release), but right
now things are in very experimental and transitional state.

Regarding module transititions, several things have been deprecated in
favor of replacement modules (so most of the legacy examples actually
still work):

miru.environment -> miru.context
miru.mesh -> miru.graphics, miru.core
miru.controls -> miru.input

For newer examples demonstrating the current focus (texturing: cube
mapping, sphere mapping, projection mapping, texture stack
manipulations, multi-texturing, toon shading, point sprites, etc.), I
have a lot of stuff in a directory "etudes" which will eventually be
merged with and replace "examples". In order of potential niftyness:

etudes/cubemap00.py (Cube mapping demo)
etudes/multitex00.py (Multi texture demo)
etudes/toon03.py (Toon shading demo - toon shading is still WIP)
etudes/pointsprite00.py (Point sprite demo)
etudes/pointsprite01.py (Point sprite with brain-dead particle system demo)
etudes/mesh02.py (eye-linear mapping demo- use middle mouse button to
move camera)

I do not have an updated release, but you can get code with mecurial:

hg clone http://hg.enterthefoo.com/Miru Miru-clone

Cheers,

Studio Kirsikka

unread,
Aug 8, 2008, 2:27:45 PM8/8/08
to pyglet-users
On 7 elo, 23:21, "Drew Smathers" <drew.smath...@gmail.com> wrote:
> Right,
> On Thu, Aug 7, 2008 at 2:03 PM, Studio Kirsikka
>
I grabbed it, and it had gone a long way further!

Only problem was in the sprites, which were unable to have a
transparent background. What/where could be the reason?

Drew Smathers

unread,
Aug 8, 2008, 5:45:10 PM8/8/08
to pyglet...@googlegroups.com

Are you referring to examples/ex17_images.py? If so, try adding the
following right after line 21:

env.camera.depth_sort = True

This is really a cheesy feature, though -- not generalized from other
perspectives, only with focus in line with z-axis.

Please also remember that currently EVERYTHING in examples/*
demonstrates features in deprecated modules. Newer examples are in
"etudes" directory for now.

-Drew

Drew Smathers

unread,
Aug 9, 2008, 11:08:33 AM8/9/08
to pyglet...@googlegroups.com
On Sat, Aug 9, 2008 at 2:52 AM, Studio Kirsikka
<studiok...@gmail.com> wrote:

> On 9 elo, 00:45, "Drew Smathers" <drew.smath...@gmail.com> wrote:
>> Are you referring to examples/ex17_images.py? If so, try adding the
>> following right after line 21:
>>
>> env.camera.depth_sort = True
>>
>> This is really a cheesy feature, though -- not generalized from other
>> perspectives, only with focus in line with z-axis.
>>
>> Please also remember that currently EVERYTHING in examples/*
>> demonstrates features in deprecated modules. Newer examples are in
>> "etudes" directory for now.
>>
>> -Drew
>
> Heh, why can't I figure those things out...

Well, I haven't documented this behavior, so you can blame me for that ;)

> Oh, I found another quirk. For example, in etudes/multitex00.py and
> etudes/toon*.py, text in FPS counter is just formed by squares. Is it
> a bug or is there any workaround?
>

Yes, that is a bug -- which I would like to fix, but haven't looked at
it too closely. If anyone can has any insights as to why this might
happen, I would be very happy to know. Thanks for the feedback.

-Drew

sevenseeker

unread,
Feb 13, 2009, 3:57:06 PM2/13/09
to pyglet-users
Hi Drew, is Miru still active?

Drew Smathers

unread,
Feb 13, 2009, 4:28:41 PM2/13/09
to pyglet...@googlegroups.com
On Fri, Feb 13, 2009 at 3:57 PM, sevenseeker <jtga...@gmail.com> wrote:
>
> Hi Drew, is Miru still active?

Currently, no :( I am very busy with work, but I hope to continue
developing miru some in the future. If you find it useful and would
like to extend it or fix bugs, I'd be happy to review patches. The
code is currently hosted here:

http://bitbucket.org/djfroofy/miru/src/


-Drew

Greippi

unread,
Aug 14, 2009, 5:17:06 PM8/14/09
to pyglet-users
Hello,

I just installed Miru and tried to run the examples but apparently it
can't import anything beyond the 'miru' directory. So it can't find
VeraMono.ttf, ext.geom or anything.

What could be the reason?

Greippi

unread,
Aug 15, 2009, 1:33:40 AM8/15/09
to pyglet-users
My bad. I thought it went to /usr/lib/python2.6/site-packages/ but it
went to /usr/lib/local/python2.6/site-packages/. For some reason it
didn't include the stuff so I had to manually copy them.
Reply all
Reply to author
Forward
0 new messages