Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)  (Read 8679 times)

0 Members and 1 Guest are viewing this topic.

tom_a_sparks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)
« on: August 09, 2006, 04:55:36 am »

I would like to have a custom mod for web 3D apps (X3D/VRML / cult3D / QTVR/ flash / etc)
excluding images and videos
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)
« Reply #1 on: August 09, 2006, 06:57:58 am »

meaning what?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)
« Reply #3 on: August 09, 2006, 11:00:30 am »

Erm, no - I didn't ask for examples of what other galleries have, as I don't care for features other apps may have.

To be more exact:
- Do you want coppermine to be able to add other filetypes to the database?
- As you're requesting a mod that might require a lot of coding: are you ready to actually pay for this?
Logged

tom_a_sparks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)
« Reply #4 on: August 09, 2006, 12:50:40 pm »

support for other filetypes: yes

if I can see how the flash demo works
then i could be able to code my stuff in
with the object/embed/applet code
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)
« Reply #5 on: August 09, 2006, 05:27:40 pm »

Just edit coppermine's filetypes table (cpgXXX_filetypes) using a third-party tool like phpMyAdmin and add the file types you see fit. Alternatively, you could use the plugin Filetype editor
Keep in mind though that this will enable you to add those files to coppermine's database - it won't enable you to embedd them into pages, as coppermine is not a player software - it just embeds objects into html pages.
Logged

tom_a_sparks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)
« Reply #6 on: August 10, 2006, 04:01:55 pm »

how do I define the new players?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)
« Reply #7 on: August 10, 2006, 06:23:08 pm »

I don't have a clue. I don't even know the file types you're refering to (expcept Flash of course, but there's built-in support for flash). Since those file types are not standard, I guess that the visitors of your page don't have the plugins needed to view those files anyway. To find out how to embedd those players into a page, you should visit the home page of the creators of "cult3D" or whatever files you're trying to share with your site visitors - maybe the creators of those apps / file formats have recommendations / docs on their page how this can be accomplished.

As I suggested before: Coppermine is not a player app - it just embedds content. In the case of regular jpeg files, your operating system and browser already come with built-in mechanisms to display them. For Flash and other common file types, there are plugins available, so basically your browser handles them using that particular plugin (that usually comes from Macromedia in the case of flash files).
Logged

tom_a_sparks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)
« Reply #8 on: August 11, 2006, 05:05:55 am »

how do i change this
<object id="SWFlash"  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" type="application/x-shockwave-flash" width="418" height="278"><param name="autostart" value="true" /><param name="src" value="albums/userpics/34398/shimmer.swf" /><embed width="418" height="278" src="albums/userpics/34398/shimmer.swf" autostart="true" type="application/x-shockwave-flash" ></embed></object>
to this based on the filetype (cult3D)

      <OBJECT ID="CultObject"
         CLASSID="clsid:31B7EB4E-8B4B-11D1-A789-00A0CC6651A8"
         CODEBASE="http://www.cult3d.com/download/cult.cab#version=5,3,0,212"
         BORDER="0"
         WIDTH="100%"
         HEIGHT="100%">
         <PARAM NAME="SRC" VALUE="untitled.co">
         <PARAM NAME="ANTIALIASING" VALUE="0">
         <PARAM NAME="PBCOLOR" VALUE="FFFFFF">
         <PARAM NAME="VIEWFINISHED" VALUE="0">
         <PARAM NAME="DISABLEPB" VALUE="0">
         <PARAM NAME="ANTIALIASINGDELAY" VALUE="250">

         <EMBED NAME=CultObject
            PLUGINSPAGE="http://www.cult3d.com/newuser/index.html"
            TYPE="application/x-cult3d-object"
            SRC="untitled.co"
            ANTIALIASING="0"
            WIDTH="100%"
            HEIGHT="100%"
            PBCOLOR="FFFFFF"
            BORDER="0"
            VIEWFINISHED="0"
            DISABLEPB="0"
            ANTIALIASINGDELAY="250"
         </EMBED>
      </OBJECT>
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)
« Reply #9 on: August 11, 2006, 08:03:47 am »

copy theme_html_picture() function from themes/sample/theme.php and change it the way you want
Logged
‍I don't answer to PM with support question
Please post your issue to related board

tom_a_sparks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)
« Reply #10 on: August 11, 2006, 01:03:12 pm »

thank you
next is applets

<applet name="ptviewer" archive=ptviewer.jar  code=ptviewer.class
width=420 height=300 mayscript=true>
<param name=file      value="pano.fjpg">
<param name=cursor      value="crosshair">
<param name=frame      value="frame.gif">
<param name=gamma      value="1.4">
<param name=exposure      value="1">
<param name=autorange      value="30">
<param name=quality   value=2>
<param name=shotspot0   value=" x336 y286 a350 b300 u'ptviewer:startAutoPan(0.5,0,1)' ">
<param name=shotspot1   value=" x350 y286 a364 b300 u'ptviewer:stopAutoPan()' ">
<param name=shotspot2   value=" x364 y286 a378 b300 u'ptviewer:startAutoPan(0,0,0.97)' ">
<param name=shotspot3   value=" x378 y286 a392 b300 u'ptviewer:startAutoPan(0,0,1.03)' ">
</applet>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)
« Reply #11 on: August 11, 2006, 02:57:04 pm »

Exactly the same method applies as suggested above, just keep on adding if/then or case switches for all your custom filetypes.
Logged

tom_a_sparks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: web 3D mod (X3D/VRML / cult3D / QTVR/ flash / etc)
« Reply #12 on: August 12, 2006, 04:46:30 am »

I am looking at the params now
how do I define them

<param name=shotspot0   value=" x336 y286 a350 b300 u'ptviewer:startAutoPan(0.5,0,1)' ">
<param name=shotspot1   value=" x350 y286 a364 b300 u'ptviewer:stopAutoPan()' ">
<param name=shotspot2   value=" x364 y286 a378 b300 u'ptviewer:startAutoPan(0,0,0.97)' ">
<param name=shotspot3   value=" x378 y286 a392 b300 u'ptviewer:startAutoPan(0,0,1.03)' ">

also I have custom one off param code and needed extra files
for each file
is there any way to custom the edit file
to add the new params?
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.