[racket-users] pict3d and pixel maps for textures

2019-09-24 Thread Stephen De Gabrielle
Hi Hendrik

Did you work out how to do this ? I’m also interested.

Kr

Stephen

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/c716467d-ec81-49d4-8d69-c45bd75d7098%40googlegroups.com.


[racket-users] pict3d and pixel maps for textures

2019-09-21 Thread Hendrik Boom
Is there a way to paste a pixel map (such as a .png ?) to
a face of one of the objects in pict3d?  If so, I haven't found it.

I'd like to paint the objects with interesting textures.

-- hendrik

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20190922025455.r6wbqdr5dv2blcvg%40topoi.pooq.com.


Re: [racket-users] pict3d trouble

2016-02-19 Thread Stephen De Gabrielle
awesome thanks.

On Fri, Feb 19, 2016 at 3:05 AM Matthew Flatt  wrote:

> Thanks for the info!
>
> The problem was not specific to 10.11 (obviously) and not related to GL
> bitmaps. It was in the way Pict3D creates and hides a frame to get a
> screen-compatible GL context. Between v6.3 and v6.4, I changed the way
> `racket/gui` hides a frame on OS X, and the new way destroys the GL
> context that Pict3D is trying to get.
>
> One workaround is for Pict3D to not show and hide the GL-context frame
> on OS X. (The show-and-hide step is still needed to initialize the
> context on Gtk.) A better solution would be to more directly support
> the creation of screen-compatible GL contexts, but I'll leave that for
> another day.
>
> For now, I've pushed a change to Pict3D, and the catalog should pick up
> the change soon.
>
> At Fri, 19 Feb 2016 00:02:04 +, Stephen De Gabrielle wrote:
> > I'm running 10.10 Yosemite. (should I do a bug report to capture machine
> > details?)
> >
> > macosx "Darwin Miriams-MacBook-Pro.local 14.5.0 Darwin Kernel Version
> > 14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64
> > x86_64" (x86_64-macosx/3m) (get-display-depth) = 32
> >
> > thanks,
> >
> > S.
> >
> >
> >
> >
> > On Thu, Feb 18, 2016 at 11:31 PM Matthew Flatt 
> wrote:
> >
> > > I see the same problem on my machine with v6.4 and 6.4.0.8, and not
> > > with v6.3.
> > >
> > > Using `pict3d/universe` works for me in all versions, but the Pict3D
> > > snip that's shown in DrRacket doesn't. So, I think the problem must be
> > > due to a change since v6.3 in `racket/gui` related to GL bitmaps. I'll
> > > investigate more.
> > >
> > > Are you running 10.11 (El Capitan)?
> > >
> > >
> > > At Thu, 18 Feb 2016 22:27:05 +, Stephen De Gabrielle wrote:
> > > > [image: Screen Shot 2016-02-18 at 22.22.50.png]Hi,
> > > >
> > > > Does anyone have any ideas why pict3d is giving me white on white?
> > > > I can tell it is drawing the sphere because the mouseover coords
> appear -
> > > > but I'm at a loss as to what I've done.
> > > >
> > > > Stephen
> > > >
> > > > --
> > > > You received this message because you are subscribed to the Google
> Groups
> > > > "Racket Users" group.
> > > > To unsubscribe from this group and stop receiving emails from it,
> send an
> > > > email to racket-users+unsubscr...@googlegroups.com.
> > > > For more options, visit https://groups.google.com/d/optout.
> > >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Racket Users" group.
> > > To unsubscribe from this group and stop receiving emails from it, send
> an
> > > email to racket-users+unsubscr...@googlegroups.com.
> > > For more options, visit https://groups.google.com/d/optout.
> > >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] pict3d trouble

2016-02-18 Thread Matthew Flatt
Thanks for the info!

The problem was not specific to 10.11 (obviously) and not related to GL
bitmaps. It was in the way Pict3D creates and hides a frame to get a
screen-compatible GL context. Between v6.3 and v6.4, I changed the way
`racket/gui` hides a frame on OS X, and the new way destroys the GL
context that Pict3D is trying to get.

One workaround is for Pict3D to not show and hide the GL-context frame
on OS X. (The show-and-hide step is still needed to initialize the
context on Gtk.) A better solution would be to more directly support
the creation of screen-compatible GL contexts, but I'll leave that for
another day.

For now, I've pushed a change to Pict3D, and the catalog should pick up
the change soon.

At Fri, 19 Feb 2016 00:02:04 +, Stephen De Gabrielle wrote:
> I'm running 10.10 Yosemite. (should I do a bug report to capture machine
> details?)
> 
> macosx "Darwin Miriams-MacBook-Pro.local 14.5.0 Darwin Kernel Version
> 14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64
> x86_64" (x86_64-macosx/3m) (get-display-depth) = 32
> 
> thanks,
> 
> S.
> 
> 
> 
> 
> On Thu, Feb 18, 2016 at 11:31 PM Matthew Flatt  wrote:
> 
> > I see the same problem on my machine with v6.4 and 6.4.0.8, and not
> > with v6.3.
> >
> > Using `pict3d/universe` works for me in all versions, but the Pict3D
> > snip that's shown in DrRacket doesn't. So, I think the problem must be
> > due to a change since v6.3 in `racket/gui` related to GL bitmaps. I'll
> > investigate more.
> >
> > Are you running 10.11 (El Capitan)?
> >
> >
> > At Thu, 18 Feb 2016 22:27:05 +, Stephen De Gabrielle wrote:
> > > [image: Screen Shot 2016-02-18 at 22.22.50.png]Hi,
> > >
> > > Does anyone have any ideas why pict3d is giving me white on white?
> > > I can tell it is drawing the sphere because the mouseover coords appear -
> > > but I'm at a loss as to what I've done.
> > >
> > > Stephen
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Racket Users" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an
> > > email to racket-users+unsubscr...@googlegroups.com.
> > > For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
> >

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] pict3d trouble

2016-02-18 Thread Stephen De Gabrielle
I'm running 10.10 Yosemite. (should I do a bug report to capture machine
details?)

macosx "Darwin Miriams-MacBook-Pro.local 14.5.0 Darwin Kernel Version
14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64
x86_64" (x86_64-macosx/3m) (get-display-depth) = 32

thanks,

S.




On Thu, Feb 18, 2016 at 11:31 PM Matthew Flatt  wrote:

> I see the same problem on my machine with v6.4 and 6.4.0.8, and not
> with v6.3.
>
> Using `pict3d/universe` works for me in all versions, but the Pict3D
> snip that's shown in DrRacket doesn't. So, I think the problem must be
> due to a change since v6.3 in `racket/gui` related to GL bitmaps. I'll
> investigate more.
>
> Are you running 10.11 (El Capitan)?
>
>
> At Thu, 18 Feb 2016 22:27:05 +, Stephen De Gabrielle wrote:
> > [image: Screen Shot 2016-02-18 at 22.22.50.png]Hi,
> >
> > Does anyone have any ideas why pict3d is giving me white on white?
> > I can tell it is drawing the sphere because the mouseover coords appear -
> > but I'm at a loss as to what I've done.
> >
> > Stephen
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] pict3d trouble

2016-02-18 Thread Matthew Flatt
I see the same problem on my machine with v6.4 and 6.4.0.8, and not
with v6.3.

Using `pict3d/universe` works for me in all versions, but the Pict3D
snip that's shown in DrRacket doesn't. So, I think the problem must be
due to a change since v6.3 in `racket/gui` related to GL bitmaps. I'll
investigate more.

Are you running 10.11 (El Capitan)?


At Thu, 18 Feb 2016 22:27:05 +, Stephen De Gabrielle wrote:
> [image: Screen Shot 2016-02-18 at 22.22.50.png]Hi,
> 
> Does anyone have any ideas why pict3d is giving me white on white?
> I can tell it is drawing the sphere because the mouseover coords appear -
> but I'm at a loss as to what I've done.
> 
> Stephen
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Pict3d general Racket help

2016-01-12 Thread Jay McCarthy
Great. In case Alex's email wasn't clear, you should be able to
reinstall (remove and install again) and it will work on your older
version (unless it doesn't work because of a problem that has been
fixed since we moved on from v6.2.1).

Jay

On Tue, Jan 12, 2016 at 2:07 PM,   wrote:
> On Tuesday, January 12, 2016 at 8:32:13 AM UTC-7, Jay McCarthy wrote:
>> Can you say what version of Racket you are using?
>>
>> `racket --version`
>>
>> will tell you
>>
>> Jay
>>
>> On Tue, Jan 12, 2016 at 10:25 AM,   wrote:
>> > Trying to run some of the default tests from pict3d (spaceship.rkt) 
>> > resulted in this error. When I downloaded the pict3d package to Racket I 
>> > got a lot of the same (if I remember correctly) directory errors. Is this 
>> > most likely from how I installed racket to begin with?  Ubuntu 14.04 LTS
>> >
>> > -Thanks
>> >
>> > default-load-handler: cannot open module file module path: racket/struct 
>> > path: /home/biz/share/racket/collects/racket/struct.rkt system error: No 
>> > such file or directory; errno=2
>> >
>> > /home/biz/share/racket/pkgs/gui-lib/mred/private/snipfile.rkt: 324:2
>> >
>> > /home/biz/share/racket/collects/racket/require-transform.rkt: 266:2
>> > ...
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "Racket Users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an 
>> > email to racket-users+unsubscr...@googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Jay McCarthy
>> Associate Professor
>> PLT @ CS @ UMass Lowell
>> http://jeapostrophe.github.io
>>
>>"Wherefore, be not weary in well-doing,
>>   for ye are laying the foundation of a great work.
>> And out of small things proceedeth that which is great."
>>   - D 64:33
>
> Jay, v6.2.1, thanks for the quick response.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Jay McCarthy
Associate Professor
PLT @ CS @ UMass Lowell
http://jeapostrophe.github.io

   "Wherefore, be not weary in well-doing,
  for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
  - D 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Pict3d general Racket help

2016-01-12 Thread bre2159732
On Tuesday, January 12, 2016 at 8:32:13 AM UTC-7, Jay McCarthy wrote:
> Can you say what version of Racket you are using?
> 
> `racket --version`
> 
> will tell you
> 
> Jay
> 
> On Tue, Jan 12, 2016 at 10:25 AM,   wrote:
> > Trying to run some of the default tests from pict3d (spaceship.rkt) 
> > resulted in this error. When I downloaded the pict3d package to Racket I 
> > got a lot of the same (if I remember correctly) directory errors. Is this 
> > most likely from how I installed racket to begin with?  Ubuntu 14.04 LTS
> >
> > -Thanks
> >
> > default-load-handler: cannot open module file module path: racket/struct 
> > path: /home/biz/share/racket/collects/racket/struct.rkt system error: No 
> > such file or directory; errno=2
> >
> > /home/biz/share/racket/pkgs/gui-lib/mred/private/snipfile.rkt: 324:2
> >
> > /home/biz/share/racket/collects/racket/require-transform.rkt: 266:2
> > ...
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
> Jay McCarthy
> Associate Professor
> PLT @ CS @ UMass Lowell
> http://jeapostrophe.github.io
> 
>"Wherefore, be not weary in well-doing,
>   for ye are laying the foundation of a great work.
> And out of small things proceedeth that which is great."
>   - D 64:33

Jay, v6.2.1, thanks for the quick response. 

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Pict3d general Racket help

2016-01-12 Thread bre2159732
On Tuesday, January 12, 2016 at 10:03:54 AM UTC-7, Alex Knauth wrote:
> I just added version exceptions for earlier versions of racket, pointing to a 
> version that doesn't require racket/struct. So this should be fixed now.
> 
> > On Jan 12, 2016, at 10:36 AM, Alex Knauth  wrote:
> > 
> > This is because pict3d requires racket/struct, which was only added in 
> > racket version 6.3. If you have an older version, you'll get this error. 
> > 
> > There should probably be a version exception for older versions that 
> > doesn't require racket/struct. Or would it be better to change pict3d to 
> > not rely on racket/struct and use unstable/struct instead?
> > 
> >> On Jan 12, 2016, at 10:32 AM, Jay McCarthy  wrote:
> >> 
> >> Can you say what version of Racket you are using?
> >> 
> >> `racket --version`
> >> 
> >> will tell you
> >> 
> >> Jay
> >> 
> >> On Tue, Jan 12, 2016 at 10:25 AM,   wrote:
> >>> Trying to run some of the default tests from pict3d (spaceship.rkt) 
> >>> resulted in this error. When I downloaded the pict3d package to Racket I 
> >>> got a lot of the same (if I remember correctly) directory errors. Is this 
> >>> most likely from how I installed racket to begin with?  Ubuntu 14.04 LTS
> >>> 
> >>> -Thanks
> >>> 
> >>> default-load-handler: cannot open module file module path: racket/struct 
> >>> path: /home/biz/share/racket/collects/racket/struct.rkt system error: No 
> >>> such file or directory; errno=2
> >>> 
> >>> /home/biz/share/racket/pkgs/gui-lib/mred/private/snipfile.rkt: 324:2
> >>> 
> >>> /home/biz/share/racket/collects/racket/require-transform.rkt: 266:2
> >>> ...
> >>> 
> >>> --
> >>> You received this message because you are subscribed to the Google Groups 
> >>> "Racket Users" group.
> >>> To unsubscribe from this group and stop receiving emails from it, send an 
> >>> email to racket-users+unsubscr...@googlegroups.com.
> >>> For more options, visit https://groups.google.com/d/optout.
> >> 
> >> 
> >> 
> >> -- 
> >> Jay McCarthy
> >> Associate Professor
> >> PLT @ CS @ UMass Lowell
> >> http://jeapostrophe.github.io
> >> 
> >>  "Wherefore, be not weary in well-doing,
> >> for ye are laying the foundation of a great work.
> >> And out of small things proceedeth that which is great."
> >> - D 64:33
> >> 
> >> -- 
> >> You received this message because you are subscribed to the Google Groups 
> >> "Racket Users" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an 
> >> email to racket-users+unsubscr...@googlegroups.com.
> >> For more options, visit https://groups.google.com/d/optout.
> > 
> > -- 
> > You received this message because you are subscribed to the Google Groups 
> > "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.

Alex, Wow you made quick work of that, thanks for being on top of it. Im going 
to go ahead and update Racket now =).

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Pict3d general Racket help

2016-01-12 Thread Jay McCarthy
Can you say what version of Racket you are using?

`racket --version`

will tell you

Jay

On Tue, Jan 12, 2016 at 10:25 AM,   wrote:
> Trying to run some of the default tests from pict3d (spaceship.rkt) resulted 
> in this error. When I downloaded the pict3d package to Racket I got a lot of 
> the same (if I remember correctly) directory errors. Is this most likely from 
> how I installed racket to begin with?  Ubuntu 14.04 LTS
>
> -Thanks
>
> default-load-handler: cannot open module file module path: racket/struct 
> path: /home/biz/share/racket/collects/racket/struct.rkt system error: No such 
> file or directory; errno=2
>
> /home/biz/share/racket/pkgs/gui-lib/mred/private/snipfile.rkt: 324:2
>
> /home/biz/share/racket/collects/racket/require-transform.rkt: 266:2
> ...
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Jay McCarthy
Associate Professor
PLT @ CS @ UMass Lowell
http://jeapostrophe.github.io

   "Wherefore, be not weary in well-doing,
  for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
  - D 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Pict3d general Racket help

2016-01-12 Thread bre2159732
Trying to run some of the default tests from pict3d (spaceship.rkt) resulted in 
this error. When I downloaded the pict3d package to Racket I got a lot of the 
same (if I remember correctly) directory errors. Is this most likely from how I 
installed racket to begin with?  Ubuntu 14.04 LTS

-Thanks

default-load-handler: cannot open module file module path: racket/struct path: 
/home/biz/share/racket/collects/racket/struct.rkt system error: No such file or 
directory; errno=2

/home/biz/share/racket/pkgs/gui-lib/mred/private/snipfile.rkt: 324:2 

/home/biz/share/racket/collects/racket/require-transform.rkt: 266:2  
...

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Pict3d general Racket help

2016-01-12 Thread Alex Knauth
This is because pict3d requires racket/struct, which was only added in racket 
version 6.3. If you have an older version, you'll get this error. 

There should probably be a version exception for older versions that doesn't 
require racket/struct. Or would it be better to change pict3d to not rely on 
racket/struct and use unstable/struct instead?

> On Jan 12, 2016, at 10:32 AM, Jay McCarthy  wrote:
> 
> Can you say what version of Racket you are using?
> 
> `racket --version`
> 
> will tell you
> 
> Jay
> 
> On Tue, Jan 12, 2016 at 10:25 AM,   wrote:
>> Trying to run some of the default tests from pict3d (spaceship.rkt) resulted 
>> in this error. When I downloaded the pict3d package to Racket I got a lot of 
>> the same (if I remember correctly) directory errors. Is this most likely 
>> from how I installed racket to begin with?  Ubuntu 14.04 LTS
>> 
>> -Thanks
>> 
>> default-load-handler: cannot open module file module path: racket/struct 
>> path: /home/biz/share/racket/collects/racket/struct.rkt system error: No 
>> such file or directory; errno=2
>> 
>> /home/biz/share/racket/pkgs/gui-lib/mred/private/snipfile.rkt: 324:2
>> 
>> /home/biz/share/racket/collects/racket/require-transform.rkt: 266:2
>> ...
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to racket-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
> Jay McCarthy
> Associate Professor
> PLT @ CS @ UMass Lowell
> http://jeapostrophe.github.io
> 
>   "Wherefore, be not weary in well-doing,
>  for ye are laying the foundation of a great work.
> And out of small things proceedeth that which is great."
>  - D 64:33
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Pict3d general Racket help

2016-01-12 Thread bre2159732
On Tuesday, January 12, 2016 at 12:08:18 PM UTC-7, Jay McCarthy wrote:
> Great. In case Alex's email wasn't clear, you should be able to
> reinstall (remove and install again) and it will work on your older
> version (unless it doesn't work because of a problem that has been
> fixed since we moved on from v6.2.1).
> 
> Jay
> 
> On Tue, Jan 12, 2016 at 2:07 PM,   wrote:
> > On Tuesday, January 12, 2016 at 8:32:13 AM UTC-7, Jay McCarthy wrote:
> >> Can you say what version of Racket you are using?
> >>
> >> `racket --version`
> >>
> >> will tell you
> >>
> >> Jay
> >>
> >> On Tue, Jan 12, 2016 at 10:25 AM,   wrote:
> >> > Trying to run some of the default tests from pict3d (spaceship.rkt) 
> >> > resulted in this error. When I downloaded the pict3d package to Racket I 
> >> > got a lot of the same (if I remember correctly) directory errors. Is 
> >> > this most likely from how I installed racket to begin with?  Ubuntu 
> >> > 14.04 LTS
> >> >
> >> > -Thanks
> >> >
> >> > default-load-handler: cannot open module file module path: racket/struct 
> >> > path: /home/biz/share/racket/collects/racket/struct.rkt system error: No 
> >> > such file or directory; errno=2
> >> >
> >> > /home/biz/share/racket/pkgs/gui-lib/mred/private/snipfile.rkt: 324:2
> >> >
> >> > /home/biz/share/racket/collects/racket/require-transform.rkt: 266:2
> >> > ...
> >> >
> >> > --
> >> > You received this message because you are subscribed to the Google 
> >> > Groups "Racket Users" group.
> >> > To unsubscribe from this group and stop receiving emails from it, send 
> >> > an email to racket-users+unsubscr...@googlegroups.com.
> >> > For more options, visit https://groups.google.com/d/optout.
> >>
> >>
> >>
> >> --
> >> Jay McCarthy
> >> Associate Professor
> >> PLT @ CS @ UMass Lowell
> >> http://jeapostrophe.github.io
> >>
> >>"Wherefore, be not weary in well-doing,
> >>   for ye are laying the foundation of a great work.
> >> And out of small things proceedeth that which is great."
> >>   - D 64:33
> >
> > Jay, v6.2.1, thanks for the quick response.
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
> 
> 
> Updated pict3d for a sanity check, no more dependency issues. Getting it to 
> render, that's a different problem lol.  -Thanks
> -- 
> Jay McCarthy
> Associate Professor
> PLT @ CS @ UMass Lowell
> http://jeapostrophe.github.io
> 
>"Wherefore, be not weary in well-doing,
>   for ye are laying the foundation of a great work.
> And out of small things proceedeth that which is great."
>   - D 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Pict3d general Racket help

2016-01-12 Thread Alex Knauth
I just added version exceptions for earlier versions of racket, pointing to a 
version that doesn't require racket/struct. So this should be fixed now.

> On Jan 12, 2016, at 10:36 AM, Alex Knauth  wrote:
> 
> This is because pict3d requires racket/struct, which was only added in racket 
> version 6.3. If you have an older version, you'll get this error. 
> 
> There should probably be a version exception for older versions that doesn't 
> require racket/struct. Or would it be better to change pict3d to not rely on 
> racket/struct and use unstable/struct instead?
> 
>> On Jan 12, 2016, at 10:32 AM, Jay McCarthy  wrote:
>> 
>> Can you say what version of Racket you are using?
>> 
>> `racket --version`
>> 
>> will tell you
>> 
>> Jay
>> 
>> On Tue, Jan 12, 2016 at 10:25 AM,   wrote:
>>> Trying to run some of the default tests from pict3d (spaceship.rkt) 
>>> resulted in this error. When I downloaded the pict3d package to Racket I 
>>> got a lot of the same (if I remember correctly) directory errors. Is this 
>>> most likely from how I installed racket to begin with?  Ubuntu 14.04 LTS
>>> 
>>> -Thanks
>>> 
>>> default-load-handler: cannot open module file module path: racket/struct 
>>> path: /home/biz/share/racket/collects/racket/struct.rkt system error: No 
>>> such file or directory; errno=2
>>> 
>>> /home/biz/share/racket/pkgs/gui-lib/mred/private/snipfile.rkt: 324:2
>>> 
>>> /home/biz/share/racket/collects/racket/require-transform.rkt: 266:2
>>> ...
>>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Racket Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to racket-users+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
>> 
>> 
>> -- 
>> Jay McCarthy
>> Associate Professor
>> PLT @ CS @ UMass Lowell
>> http://jeapostrophe.github.io
>> 
>>  "Wherefore, be not weary in well-doing,
>> for ye are laying the foundation of a great work.
>> And out of small things proceedeth that which is great."
>> - D 64:33
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to racket-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] pict3d

2015-04-12 Thread 'John Clements' via users-redirect
1) pict3d is Totally magnificent. Think I said this before.
2) New OS X mouse controls are excellent.
3) Doc bug (I think). You write

Shapes: visible 2D surfaces in 3D space. Surfaces are visible on only one 
side.”

I believe the first word and the first word of the second sentence should be 
the same, e.g.:

Shapes: visible 2D surfaces in 3D space. Shapes are visible on only one side.

or

Surfaces: visible 2D surfaces in 3D space. Surfaces are visible on only one 
side.

John

-- 
You received this message because you are subscribed to the Google Groups 
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.