Re: [PHP] 3d modeling-php



On Tue, November 21, 2006 12:44 pm, blackwater dev wrote:
I want people to be able to put in some dimensions, like a lot size,
and
then pick some other items (which will have their dimensions stored).
The
user can then drag the other items onto their lot, move them, etc just
to
see what fits and where. They could even view it in 3d. My current
app is
all PHP so trying to find the best way to do this. Does anyone have
any
ideas or of a site which does something similiar? Will I have to use
something like Flash?

Almost-for-sure you will want a client-side interactive scripting
language such as:
ActionScript in Flash
JavaScript in most user's browsers
Java applet/servelet

These all come with their own pros and cons.

PHP would be involved only if you have an AJAX-y JavaScript client
pounding back on to the server to calculate what fits where -- Which
will probably perform like a total dog compared to something all
client-side.

So the only way this belongs in PHP is if you can convince all the
users to install that nifty "PHPScript" thingie I saw in PECL or PEAR
the other week... Kinda like JavaScript, only PHP, for the browser.
I keep meaning to play with that...

PS This is really 2-D modeling, right?... Or are you actually going to
let them "stack" items in a 3-D world?

--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
.



Relevant Pages

  • Re: loading screen
    ... the javascript function that displays the loading screen. ... This won't work because PHP is server-side and javascript is ... NONE of the client-side js code will be executed on the ...
    (comp.lang.php)
  • Re: Continuous Form
    ... I've seen this done using DHTML (JavaScript and DOM). ... only the later versions of most major browsers, ... You could do it with only HTML and PHP, but it would require a round ... You can also use an Ajax solution to process input back to the server ...
    (comp.lang.php)
  • Re: Capturing Ctrl N
    ... >> javascript or php? ... > JavaScript: I have no idea ... Gecko browsers seem to allow all keystrokes to be ... code so that it can cope with the normal behaviour of client browsers. ...
    (comp.lang.php)
  • Re: Mixing PHP and Javascript
    ... I am having a really hard time mixing javascript and php together. ... The main rule is that PHP runs on the server. ... (This assumes client-side Javascript code. ...
    (comp.lang.javascript)
  • Re: Toggling visibility in css, not javascript
    ... It's a bit inconvenient in our app to use javascript here. ... I'm thinking the challenge here is to maintain state using css alone. ... If you can use php on your server, it is likely you could do this ... browsers and if the viewing browser has script turned on or off. ...
    (alt.html)